Skip to content

CheckboxComponent.onChange method

CheckboxComponent › onChange

Sets the callback to be called when the checkbox is changed.

Signature:

onChange(callback: (newValue: boolean) => void): this

Parameters:

ParameterTypeDescription
callback(newValue: boolean) => voidThe callback to be called when the checkbox is changed.

Returns: thisThe component.