Skip to content

ToggleComponent.changeCallback method

ToggleComponent › changeCallback

Unofficial

The function that's called after changing the value of the component.

Signature:

changeCallback(value: boolean): void

Parameters:

Parameter Type Description
value boolean

Returns: void

Remarks:

Using ToggleComponent.onChange(callback) assigns the callback to this method.