CustomElementRegistry
interface CustomElementRegistry {
define(
name: string,
constructor: CustomElementConstructor,
options?: ElementDefinitionOptions,
): void;get(name: string): CustomElementConstructor | undefined;
upgrade(root: Node): void;
whenDefined(name: string): Promise<CustomElementConstructor>;
}var CustomElementRegistry: {
prototype: CustomElementRegistry;
new (): CustomElementRegistry;
};§Methods
§
define(
[src]name: string,
constructor: CustomElementConstructor,
options?: ElementDefinitionOptions,
): void§
get(name: string): CustomElementConstructor | undefined
[src]§
whenDefined(name: string): Promise<CustomElementConstructor>
[src]