ViewportChangedEvent#
Class ViewportChangedEvent
Hierarchy
- WebVisEvent
- ViewportChangedEvent
Index
Constructors
Properties
Constructors
constructor
- new
Viewport Changed Event(width: number, height: number): 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
id
id: number
Optional
transaction Code
transaction Code?: string
Optional
transactionID
transactionID?: number
Optional
type
type?: EventType
width
width: number
VIEWPORTSIZE_CHANGED VIEWPORTSIZE_CHANGED