ViewerStateChangedEvent#
Class ViewerStateChangedEvent
Hierarchy
- WebVisEvent
- ViewerStateChangedEvent
Index
Constructors
Properties
Constructors
constructor
- new
Viewer State Changed Event(state, viewer): 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
-
Properties
id
id: number
state
The new state of the Viewer.
Optional
transaction Code
transaction Code?: string
Optional
transactionID
transactionID?: number
Optional
type
viewer
The related Viewer.
VIEWER_STATE_CHANGED