Interface CustomElementRegistry

interface CustomElementRegistry {
    define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void;
    get(name: string): undefined | CustomElementConstructor;
    getName(constructor: CustomElementConstructor): null | string;
    upgrade(root: Node): void;
    whenDefined(name: string): Promise<CustomElementConstructor>;
}

Methods

  • Parameters

    Returns null | string

  • Parameters

    Returns void