UMD Web Components Library
    Preparing search index...

    Reference to an element with optional event handlers

    interface ElementRef {
        element: HTMLElement;
        events?: Record<string, Function>;
    }
    Index

    Properties

    Properties

    element: HTMLElement

    The HTML element being observed

    events?: Record<string, Function>

    Optional event handlers attached to the element