2019-12-19 15:25:42 -05:00
|
|
|
export declare function applyChanges(component: {}): void;
|
2018-11-08 12:25:33 -05:00
|
|
|
|
2019-12-19 15:25:42 -05:00
|
|
|
export declare function getComponent<T>(element: Element): T | null;
|
2018-11-28 18:54:38 -05:00
|
|
|
|
2019-12-19 15:25:42 -05:00
|
|
|
export declare function getContext<T>(element: Element): T | null;
|
2019-09-17 14:19:12 -04:00
|
|
|
|
2019-12-19 15:25:42 -05:00
|
|
|
export declare function getDirectives(element: Element): {}[];
|
2018-11-08 12:25:33 -05:00
|
|
|
|
2019-12-19 15:25:42 -05:00
|
|
|
export declare function getHostElement(componentOrDirective: {}): Element;
|
2018-11-08 12:25:33 -05:00
|
|
|
|
2019-12-19 15:25:42 -05:00
|
|
|
export declare function getInjector(elementOrDir: Element | {}): Injector;
|
2018-11-08 12:25:33 -05:00
|
|
|
|
2018-11-28 18:54:38 -05:00
|
|
|
export declare function getListeners(element: Element): Listener[];
|
|
|
|
|
2019-12-19 15:25:42 -05:00
|
|
|
export declare function getOwningComponent<T>(elementOrDir: Element | {}): T | null;
|
2018-11-15 11:43:56 -05:00
|
|
|
|
2019-12-19 15:25:42 -05:00
|
|
|
export declare function getRootComponents(elementOrDir: Element | {}): {}[];
|
2018-11-15 11:43:56 -05:00
|
|
|
|
2019-12-19 15:25:42 -05:00
|
|
|
export interface Listener {
|
|
|
|
callback: (value: any) => any;
|
|
|
|
element: Element;
|
|
|
|
name: string;
|
|
|
|
type: 'dom' | 'output';
|
|
|
|
useCapture: boolean;
|
|
|
|
}
|