ValueComponentWithChangeTracking.onChange method
ValueComponentWithChangeTracking › onChange
Sets a callback function to be called when the value of the component changes.Signature:
onChange(callback: (newValue: T) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| callback | (newValue: T) => void | A callback function that is called when the value of the component changes. |
Returns: this