UMD Web Components Library
    Preparing search index...

    Interface TypedComponentRef

    Extended component reference with typed events

    interface TypedComponentRef {
        element: HTMLElement | DocumentFragment;
        events?: ComponentEvents & Record<string, Function>;
        styles?: string;
    }
    Index

    Properties

    element: HTMLElement | DocumentFragment

    The DOM element or fragment

    events?: ComponentEvents & Record<string, Function>

    Typed component events

    styles?: string

    Component styles