/** * @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/components/directives/maxlen.directive'; import * as import1 from '@angular/core/src/change_detection/change_detection'; import * as import2 from '@angular/core/src/linker/view'; import * as import3 from '@angular/core/src/linker/view_utils'; export class Wrapper_MaxLengthDirective { /*private*/ _eventHandler:Function; context:import0.MaxLengthDirective; /*private*/ _changed:boolean; /*private*/ _expr_0:any; constructor(p0:any) { this._changed = false; this.context = new import0.MaxLengthDirective(p0); this._expr_0 = import1.UNINITIALIZED; } ngOnDetach(view:import2.AppView,componentView:import2.AppView,el:any):void { } ngOnDestroy():void { } check_maxlen(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void { if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_0,currValue))) { this._changed = true; this.context.maxlen = currValue; this._expr_0 = currValue; } } ngDoCheck(view:import2.AppView,el:any,throwOnChange:boolean):boolean { var changed:any = this._changed; this._changed = false; return changed; } checkHost(view:import2.AppView,componentView:import2.AppView,el:any,throwOnChange:boolean):void { } handleEvent(eventName:string,$event:any):boolean { var result:boolean = true; if ((eventName == 'keydown')) { const pd_sub_0:any = ((this.context.onKeyDown($event)) !== false); result = (pd_sub_0 && result); } return result; } subscribe(view:import2.AppView,_eventHandler:any):void { this._eventHandler = _eventHandler; } }