UMD Web Components Library
    Preparing search index...

    Interface ComponentConfiguration

    Configuration passed to Model.createCustomElement

    interface ComponentConfiguration {
        afterConnect?: (ref: ComponentRef, shadow?: ShadowRoot) => void;
        attributes?: any;
        beforeConnect?: (ref: ComponentRef, shadow: ShadowRoot) => void;
        createComponent: CreateComponentFunction;
        onReady?: (ref: ComponentRef) => void;
        slots?: SlotConfiguration;
        tagName: string;
    }
    Index

    Properties

    afterConnect?: (ref: ComponentRef, shadow?: ShadowRoot) => void

    Hook called after shadow DOM connection

    attributes?: any

    Attribute handlers - using any to avoid circular dependency

    beforeConnect?: (ref: ComponentRef, shadow: ShadowRoot) => void

    Hook called before shadow DOM connection

    createComponent: CreateComponentFunction

    Component creation function

    onReady?: (ref: ComponentRef) => void

    Hook called when component is ready

    Slot configuration

    tagName: string

    Component tag name