VariantChangedEvent¶
Class VariantChangedEvent
Hierarchy (View Summary)
- WebVisEvent
- VariantChangedEvent
Index
Constructors
Properties
Constructors
constructor
- new VariantChangedEvent(variant: number, enabled: boolean): VariantChangedEvent
The VARIANTS_CHANGED event occurs if the selected variants change.
Parameters
- variant: number
The id of the changed variant
- enabled: boolean
The new enabled state of the changed variant.
Returns VariantChangedEvent
- variant: number
Properties
enabled
enabled: boolean
The new enabled state of the changed variant.
id
id: number
The unique ID of the event.
Optional
transaction Code
transactionCode?: string
The transaction code associated with the event.
Optional
transactionID
transactionID?: number
The transaction ID associated with the event.
Optional
type
The type of the event.
variant
variant: number
The id of the changed variant
VARIANTS_CHANGED VARIANTS_CHANGED