feat(elements): implement NgElement
This commit is contained in:

committed by
Victor Berchet

parent
75cf70ae04
commit
aed4a11d01
17
tools/public_api_guard/elements/elements.d.ts
vendored
17
tools/public_api_guard/elements/elements.d.ts
vendored
@ -1,2 +1,19 @@
|
||||
/** @experimental */
|
||||
export interface NgElement<T> extends HTMLElement {
|
||||
componentRef: ComponentRef<T> | null;
|
||||
ngElement: NgElement<T> | null;
|
||||
attributeChangedCallback(attrName: string, oldValue: string | null, newValue: string, namespace?: string): void;
|
||||
connectedCallback(): void;
|
||||
detach(): void;
|
||||
detectChanges(): void;
|
||||
disconnectedCallback(): void;
|
||||
getHost(): HTMLElement;
|
||||
markDirty(): void;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare type NgElementWithProps<T, P> = NgElement<T> & {
|
||||
[property in keyof
|
||||
|
||||
/** @experimental */
|
||||
export declare const VERSION: Version;
|
||||
|
Reference in New Issue
Block a user