UMD Web Components Library
    Preparing search index...

    Interface AttributeHandlerConfig

    Configuration for an attribute handler

    interface AttributeHandlerConfig {
        handler: (
            ref: AttributeElementRef,
            oldValue: null | string,
            newValue: null | string,
        ) => void;
        name: string;
    }
    Index

    Properties

    Properties

    handler: (
        ref: AttributeElementRef,
        oldValue: null | string,
        newValue: null | string,
    ) => void

    Handler function called when the attribute changes

    name: string

    The attribute name to observe