This PR was merged without API docs and general rollout plan. We can't release this as is in 5.1 without a plan for documentation, cli integration, etc.
This commit is contained in:

committed by
Victor Berchet

parent
200d92d030
commit
3997d97806
30
tools/public_api_guard/elements/elements.d.ts
vendored
30
tools/public_api_guard/elements/elements.d.ts
vendored
@ -1,30 +0,0 @@
|
||||
/** @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 interface NgElementConstructor<T, P> {
|
||||
readonly is: string;
|
||||
readonly observedAttributes: string[];
|
||||
new (): NgElementWithProps<T, P>;
|
||||
upgrade(host: HTMLElement): NgElementWithProps<T, P>;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare type NgElementWithProps<T, P> = NgElement<T> & {
|
||||
[property in keyof
|
||||
|
||||
/** @experimental */
|
||||
export declare function registerAsCustomElements<T>(customElementComponents: Type<any>[], platformRef: PlatformRef, moduleFactory: NgModuleFactory<T>): Promise<NgModuleRef<T>>;
|
||||
|
||||
/** @experimental */
|
||||
export declare const VERSION: Version;
|
Reference in New Issue
Block a user