UMD Web Components Library
    Preparing search index...

    Configuration for an attribute handler

    interface Config {
        handler: (
            ref: Attributes.AttributeHandlerTypes.ElementRef,
            oldValue: null | string,
            newValue: null | string,
        ) => void;
        name: string;
    }
    Index

    Properties

    Properties

    handler: (
        ref: Attributes.AttributeHandlerTypes.ElementRef,
        oldValue: null | string,
        newValue: null | string,
    ) => void

    Handler function called when the attribute changes

    name: string

    The attribute name to observe