goldens/public-api/core/global_utils.api.md
Do not edit this file. It is a report generated by API Extractor.
import { ɵɵInjectableDeclaration } from '@angular/core';
// @public
export function applyChanges(component: {}): void;
// @public
export type DirectiveDebugMetadata = AngularDirectiveDebugMetadata | AcxDirectiveDebugMetadata | AngularComponentDebugMetadata | AcxComponentDebugMetadata | WizComponentDebugMetadata;
// @public
export function enableProfiling(): () => void;
// @public
export function getComponent<T>(element: Element): T | null;
// @public
export function getContext<T extends {}>(element: Element): T | null;
// @public
export function getDirectiveMetadata(directiveOrComponentInstance: any): AngularComponentDebugMetadata | AngularDirectiveDebugMetadata | null;
// @public
export function getDirectives(node: Node): {}[];
// @public
export function getHostElement(componentOrDirective: {}): Element;
// @public
export function getInjector(elementOrDir: Element | {}): Injector;
// @public
export function getListeners(element: Element): Listener[];
// @public
export function getOwningComponent<T>(elementOrDir: Element | {}): T | null;
// @public
export function getRootComponents(elementOrDir: Element | {}): {}[];
// @public
export interface Listener {
callback: (value: any) => any;
element: Element;
name: string;
type: 'dom' | 'output';
useCapture: boolean;
}
// (No @packageDocumentation comment for this package)