/*! * * Wijmo Library 5.20251.40 * https://developer.mescius.com/wijmo * * Copyright(c) MESCIUS inc. All rights reserved. * * Licensed under the End-User License Agreement For MESCIUS Wijmo Software. * us.sales@mescius.com * https://developer.mescius.com/wijmo/licensing * */ /** * {@module wijmo.angular2.grid.detail} * Contains Angular 2 components for the wijmo.grid.detail module. * * wijmo.angular2.grid.detail is an external TypeScript module that can be imported to your code * using its ambient module name. For example: * *
import * as wjDetail from 'wijmo/wijmo.angular2.grid.detail';
* import * as wjGrid from 'wijmo/wijmo.angular2.grid';
*  
* @Component({
*     directives: [wjGrid.WjFlexGrid, wjDetail.WjFlexGridDetail],
*     template: `
*       <wj-flex-grid [itemsSource]="data">
*           <ng-template wjFlexGridDetail>
*               Detail row content here...
*           </ng-template>
*       </wj-flex-grid>`,
*     selector: 'my-cmp',
* })
* export class MyCmp {
*     data: any[];
* }
* */ /** * */ export declare var ___keepComment: any; import { EventEmitter, AfterViewInit, ElementRef, Injector, ViewContainerRef, TemplateRef, OnInit, OnDestroy } from '@angular/core'; import { IWjComponentMetadata, IWjDirectiveMeta } from 'wijmo/wijmo.angular2.directiveBase'; import * as wjcGridDetail from 'wijmo/wijmo.grid.detail'; declare var wjFlexGridDetailMeta: IWjDirectiveMeta; export { wjFlexGridDetailMeta }; /** * Angular 2 directive for {@link FlexGrid} {@link DetailRow} templates. * * The wj-flex-grid-detail directive must be specified on a <ng-template> * template element contained in a wj-flex-grid component. * * The wj-flex-grid-detail directive is derived from the {@link FlexGridDetailProvider} * class that maintains detail rows visibility, with detail rows content defined as * an arbitrary HTML fragment within the directive tag. The fragment may contain * Angular 2 bindings, components and directives. * The row and * item template variables can be used in Angular 2 bindings that refer to * the detail row's parent {@link Row} and Row.dataItem objects. * */ export declare class WjFlexGridDetail extends wjcGridDetail.FlexGridDetailProvider implements OnInit, OnDestroy, AfterViewInit { private static _viewRefProp; wjFlexGridDetail: any; _viewContainerRef: ViewContainerRef; _templateRef: TemplateRef; static readonly meta: IWjComponentMetadata; private _wjBehaviour; /** * Indicates whether the component has been initialized by Angular. * Changes its value from false to true right before triggering the initialized event. */ isInitialized: boolean; /** * This event is triggered after the component has been initialized by Angular, that is * all bound properties have been assigned and child components (if any) have been initialized. */ initialized: EventEmitter; constructor(elRef: ElementRef, injector: Injector, parentCmp: any, viewContainerRef: ViewContainerRef, templateRef: TemplateRef); /** * If you create a custom component inherited from a Wijmo component, you can override this * method and perform necessary initializations that you usually do in a class constructor. * This method is called in the last line of a Wijmo component constructor and allows you * to not declare your custom component's constructor at all, thus preventing you from a necessity * to maintain constructor parameters and keep them in synch with Wijmo component's constructor parameters. */ created(): void; ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; private _init; } export declare class WjGridDetailModule { }