UNPKG

angular2-data-table

Version:

angular2-data-table is a Angular2 component for presenting large and complex data.

40 lines (39 loc) 1.43 kB
/** * @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/directives/orderable.directive'; import * as import1 from '@angular/core/src/linker/view'; export class Wrapper_OrderableDirective { /*private*/ _eventHandler:Function; context:import0.OrderableDirective; /*private*/ _changed:boolean; subscription0:any; constructor(p0:any) { this._changed = false; this.context = new import0.OrderableDirective(p0); } ngOnDetach(view:import1.AppView<any>,componentView:import1.AppView<any>,el:any):void { } ngOnDestroy():void { this.context.ngOnDestroy(); (this.subscription0 && this.subscription0.unsubscribe()); } ngDoCheck(view:import1.AppView<any>,el:any,throwOnChange:boolean):boolean { var changed:any = this._changed; this._changed = false; return changed; } checkHost(view:import1.AppView<any>,componentView:import1.AppView<any>,el:any,throwOnChange:boolean):void { } handleEvent(eventName:string,$event:any):boolean { var result:boolean = true; return result; } subscribe(view:import1.AppView<any>,_eventHandler:any,emit0:boolean):void { this._eventHandler = _eventHandler; if (emit0) { (this.subscription0 = this.context.reorder.subscribe(_eventHandler.bind(view,'reorder'))); } } }