Interface: ViewerStateEvent
viewer.ViewerStateEvent
Interface for viewer state events.
example
// The `fov` event is an example of a `ViewerStateEvent`.// Set up an event listener on the viewer.viewer.on('fov', function(e) { console.log('A fov event has occured');});
#
Hierarchy↳
ViewerStateEvent
#
Properties#
target• target: IViewer
The viewer object that fired the event.
#
Inherited from#
Defined inviewer/events/ViewerEvent.ts:11
#
type• type: "fov"
| "moveend"
| "movestart"
| "position"
| "pov"
| "remove"
The event type.