JavaScript/jQuery Switch - ValueChangedEvent

The type of the valueChanged event handler's argument.

import { ValueChangedEvent } from "devextreme/ui/switch"
Type:

Object

component

The UI component's instance.

Type:

Switch

element

The UI component's container.

event

A native browser event with additional fields from EventObject.

previousValue

Type:

Object

value

Type:

Object