Skip to content

TypedMultipleDropdownComponent.onChange method

TypedMultipleDropdownComponent › onChange

Sets the callback function to be called when the component is changed.

Signature:

onChange(callback: (value: readonly T[]) => void): this

Parameters:

ParameterTypeDescription
callback(value: readonly T[]) => voidThe callback function to be called when the component is changed.

Returns: this — The component.