vira - v31.18.2
    Preparing search index...

    Function textInputListener

    • A function to be called when an input element's value changes.

      Parameters

      • __namedParameters: {
            elementConstructor?:
                | (new () => HTMLInputElement)
                | (new () => HTMLTextAreaElement);
            event: Event;
            inputBlockedCallback: (blockedInput: string) => void;
            inputs: SharedTextInputElementInputs;
            newValueCallback: (newValue: string) => void;
            previousValue: string;
        }
        • OptionalelementConstructor?: (new () => HTMLInputElement) | (new () => HTMLTextAreaElement)

          The constructor for the underlying native element. Defaults to HTMLInputElement, but can be set to HTMLTextAreaElement for textarea-based elements.

        • event: Event
        • inputBlockedCallback: (blockedInput: string) => void
        • inputs: SharedTextInputElementInputs
        • newValueCallback: (newValue: string) => void
        • previousValue: string

          The value of the input element before this listener fired.

      Returns void