CheckboxComponent.onChange method
CheckboxComponent › onChange
Sets the callback to be called when the checkbox is changed.Signature:
onChange(callback: (newValue: boolean) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| callback | (newValue: boolean) => void | The callback to be called when the checkbox is changed. |
Returns: this — The component.