JavaScript/jQuery Switch - OptionChangedEvent

The type of the optionChanged event handler's argument.

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

Object

component

The UI component's instance.

Type:

Switch

element

The UI component's container.

fullName

The path to the modified property that includes all parent properties.

Type:

String

name

The modified property if it belongs to the first level. Otherwise, the first-level property into which it is nested.

Type:

String

previousValue

The UI component's previous value.

Type: any

value

The modified property's new value.

Type: any