mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e56c8bf8d1
PR Close #27117
16 lines
575 B
TypeScript
16 lines
575 B
TypeScript
export declare function getComponent<T = {}>(element: Element): T | null;
|
|
|
|
export declare function getDirectives(target: {}): Array<{}>;
|
|
|
|
export declare function getHostElement<T>(directive: T): Element;
|
|
|
|
export declare function getInjector(target: {}): Injector;
|
|
|
|
export declare function getPlayers(ref: ComponentInstance | DirectiveInstance | HTMLElement): Player[];
|
|
|
|
export declare function getRootComponents(target: {}): any[];
|
|
|
|
export declare function getViewComponent<T = {}>(element: Element | {}): T | null;
|
|
|
|
export declare function markDirty<T>(component: T): void;
|