angular/goldens/public-api/core/global_utils.api.md
Kristiyan Kostadinov fb351300c3 build: update to latest dev infra code (#56128)
Updates the repo to the latest dev infra code which involves updating a patch and renaming all the golden files to end with `.api.md`.

PR Close #56128
2024-05-28 14:42:31 +02:00

1.5 KiB

API Report File for "angular-srcs"

Do not edit this file. It is a report generated by API Extractor.


// @public
export function applyChanges(component: {}): void;

// @public
export interface ComponentDebugMetadata extends DirectiveDebugMetadata {
    // (undocumented)
    changeDetection: ChangeDetectionStrategy;
    // (undocumented)
    encapsulation: ViewEncapsulation;
}

// @public
export interface DirectiveDebugMetadata {
    // (undocumented)
    inputs: Record<string, string>;
    // (undocumented)
    outputs: Record<string, string>;
}

// @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): ComponentDebugMetadata | DirectiveDebugMetadata | 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)