@syncfusion/ej2-angular-base
Version:
A common package of Essential JS 2 base Angular libraries, methods and class definitions
56 lines (55 loc) • 1.47 kB
TypeScript
import { QueryList, SimpleChanges } from '@angular/core';
/**
* Complex Array Base module
*/
export interface IChildChange {
dirIndex: number;
change: Object;
}
export declare class ComplexBase<T> {
isUpdated: boolean;
hasChanges?: boolean;
dirIndex?: number;
propCollection?: {
[key: string]: Object;
};
dataSource?: {
[key: string]: Object;
};
property?: string;
tags?: string[];
isInitChanges: boolean;
private tagObjects?;
private registeredTemplate;
private componentType;
directivePropList: any;
ngOnInit(): void;
protected registerEvents(eventList: string[]): void;
ngOnChanges(changes: SimpleChanges): void;
clearTemplate(templateNames: string[]): void;
getProperties(): {
[key: string]: Object;
};
isChanged(): boolean;
ngAfterContentChecked(): void;
ngAfterViewChecked(): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
}
export declare class ArrayBase<T> {
isInitChanges: boolean;
list: T[] & ComplexBase<T>[];
children: QueryList<T>;
hasChanges: boolean;
private propertyName;
hasNewChildren: boolean;
constructor(propertyName: string);
ngOnInit(): void;
ngAfterContentInit(): void;
getProperties(): Object[];
isChanged(): boolean;
clearTemplate(templateNames: string[]): void;
ngAfterContentChecked(): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
}