Skip to content

Multiselect.removeElement method

Multiselect › removeElement

Unofficial

Remove an element of the multiselect.

Signature:

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

Parameters:

Parameter Type Description
index number the index of the element.
shouldFocus? boolean | undefined Whether to focus the next element after removal.

Returns: void