Skip to content

TypedTextComponent.onChange method

TypedTextComponent › onChange

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

Signature:

onChange(callback: (value: T) => void): this

Parameters:

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

Returns: thisThe component.