Type alias ComboBoxTextClearedEventDetails

ComboBoxTextClearedEventDetails: ComboBoxEventDetails & {
    previousInputValue: string;
    selected: HTMLOptionElement[];
}

Custom event details for the combo-box:input:text-cleared event.

Type declaration

  • previousInputValue: string

    The previous value of the combo box input before the text was cleared.

  • selected: HTMLOptionElement[]

    An Array of selected options via the combo box select element. May be empty if no value was selected before the text was cleared.

Generated using TypeDoc