CustomElementRegistry
[<Interface>]
type CustomElementRegistry =
static member Create (define: Action<string,CustomElementConstructor,ElementDefinitionOptions option>, get: string -> CustomElementConstructor option, getName: CustomElementConstructor -> string option, initialize: Node -> unit, upgrade: Node -> unit, whenDefined: string -> Promise<CustomElementConstructor>) : CustomElementRegistry
abstract member define (name: string, constructor: CustomElementConstructor, ?options: ElementDefinitionOptions) : unit
abstract member get (name: string) : CustomElementConstructor option
abstract member getName (constructor: CustomElementConstructor) : string option
abstract member initialize (root: Node) : unit
abstract member upgrade (root: Node) : unit
abstract member whenDefined (name: string) : Promise<CustomElementConstructor>
| |
|---|
| Assembly | Xantham.Fable.Core.TS |
| Attributes | [<Interface>] |
Methods
static member Create (define: Action<string,CustomElementConstructor,ElementDefinitionOptions option>, get: string -> CustomElementConstructor option, getName: CustomElementConstructor -> string option, initialize: Node -> unit, upgrade: Node -> unit, whenDefined: string -> Promise<CustomElementConstructor>) : CustomElementRegistry
abstract member define (name: string, constructor: CustomElementConstructor, ?options: ElementDefinitionOptions) : unit
abstract member get (name: string) : CustomElementConstructor option
abstract member getName (constructor: CustomElementConstructor) : string option
abstract member initialize (root: Node) : unit
abstract member upgrade (root: Node) : unit
abstract member whenDefined (name: string) : Promise<CustomElementConstructor>