/** * @fileoverview This file is generated by the Angular 2 template compiler. * Do not edit. * @suppress {suspiciousCode,uselessCode,missingProperties} */ /* tslint:disable */ import * as import0 from '../../../src/off-click/off-click.directive'; import * as import1 from '@angular/core/src/linker/view'; export class Wrapper_OffClickDirective { /*private*/ _eventHandler:Function; context:import0.OffClickDirective; /*private*/ _changed:boolean; subscription0:any; constructor(p0:any) { this._changed = false; this.context = new import0.OffClickDirective(p0); } ngOnDetach(view:import1.AppView,componentView:import1.AppView,el:any):void { } ngOnDestroy():void { this.context.ngOnDestroy(); (this.subscription0 && this.subscription0.unsubscribe()); } ngDoCheck(view:import1.AppView,el:any,throwOnChange:boolean):boolean { var changed:any = this._changed; this._changed = false; return changed; } checkHost(view:import1.AppView,componentView:import1.AppView,el:any,throwOnChange:boolean):void { } handleEvent(eventName:string,$event:any):boolean { var result:boolean = true; return result; } subscribe(view:import1.AppView,_eventHandler:any,emit0:boolean):void { this._eventHandler = _eventHandler; if (emit0) { (this.subscription0 = this.context.offClick.subscribe(_eventHandler.bind(view,'offClick'))); } } }