Skip to content

Multiselect.removeElement method

Multiselect › removeElement

Unofficial

Remove an element of the multiselect.

Signature:

removeElement(index: number, shouldFocus?: boolean | undefined): void

Parameters:

ParameterTypeDescription
indexnumberthe index of the element.
shouldFocus?boolean | undefinedWhether to focus the next element after removal.

Returns: void