ViewportChangedEvent#
Class ViewportChangedEvent
Hierarchy
- WebVisEvent
- ViewportChangedEvent
 
Constructors
Properties
Constructors
constructor
- new Viewport Changed Event(width, height): ViewportChangedEvent 
- 
This event signals a that the viewport size has changed Parameters- 
width: numberThe new width of the viewport 
- 
height: numberThe new height of the viewport 
 Returns ViewportChangedEvent
- 
Properties
height
height: number
The new height of the viewport
id
id: number
Optional transaction
transaction
Optional transactionID
transactionID?: number
Optional type
width
width: number
The new width of the viewport
VIEWPORTSIZE_CHANGED VIEWPORTSIZE_CHANGED