Skip to content

MultipleTextComponent.onChange method

MultipleTextComponent › onChange

Adds a change listener to the component.

Signature:

onChange(callback: (newValue: readonly string[]) => void): this

Parameters:

ParameterTypeDescription
callback(newValue: readonly string[]) => voidThe callback to call when the value changes.

Returns: thisThe component.