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