ViewerStateChangedEvent¶
Class ViewerStateChangedEvent
Hierarchy (View Summary)
- WebVisEvent
- ViewerStateChangedEvent
Index
Constructors
Properties
Constructors
constructor
- new ViewerStateChangedEvent(
state: ViewerState,
viewer: ViewerAPI,
): ViewerStateChangedEvent This event occurs if the State of a Viewer change.
Parameters
- state: ViewerState
The new state of the Viewer.
- viewer: ViewerAPI
The related Viewer.
Returns ViewerStateChangedEvent
- state: ViewerState
Properties
id
id: number
The unique ID of the event.
state
The new state of the Viewer.
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.
viewer
The related Viewer.
VIEWER_STATE_CHANGED