ViewerErrorEvent¶
Class ViewerErrorEvent
Hierarchy (View Summary)
- WebVisEvent
- ViewerErrorEvent
Index
Constructors
Properties
Constructors
constructor
- new ViewerErrorEvent(state: ViewerState, viewer: ViewerAPI): ViewerErrorEvent
This event occurs if a Viewer goes into an Error State.
Parameters
- state: ViewerState
The new state of the Viewer.
- viewer: ViewerAPI
The related Viewer.
Returns ViewerErrorEvent
- 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_ERROR