UMD Web Components Library
    Preparing search index...

    Interface ComponentConfiguration

    Configuration passed to Model.createCustomElement

    interface ComponentConfiguration {
        afterConnect?: (ref: Model.ElementRef, shadow?: ShadowRoot) => void;
        attributes?: Config | Config[];
        beforeConnect?: (ref: Model.ElementRef, shadow: ShadowRoot) => void;
        createComponent: CreateComponentFunction;
        onReady?: (ref: Model.ElementRef) => void;
        slots?: SlotConfiguration;
        tagName: string;
    }
    Index

    Properties

    afterConnect?: (ref: Model.ElementRef, shadow?: ShadowRoot) => void

    Hook called after shadow DOM connection

    attributes?: Config | Config[]

    Attribute handlers

    beforeConnect?: (ref: Model.ElementRef, shadow: ShadowRoot) => void

    Hook called before shadow DOM connection

    createComponent: CreateComponentFunction

    Component creation function

    onReady?: (ref: Model.ElementRef) => void

    Hook called when component is ready

    Slot configuration

    tagName: string

    Component tag name