Class pwlib.appEvent.viewportSizeChange
Extends
pwlib.appEvent.
Image viewport size change event. This event is not cancelable.
Defined in: lib.js.
Constructor Attributes | Constructor Name and Description |
---|---|
pwlib.appEvent.viewportSizeChange(width, height)
|
Field Attributes | Field Name and Description |
---|---|
New viewport height.
|
|
New viewport width.
|
- Fields borrowed from class pwlib.appEvent:
- cancelable, defaultPrevented, target, type
- Methods borrowed from class pwlib.appEvent:
- preventDefault, stopPropagation, toString
Class Detail
pwlib.appEvent.viewportSizeChange(width, height)
- Parameters:
- {String} width
- The new viewport width. This must be a CSS length value, like "100px", "100%" or "100em".
- {String} height
- The new viewport height. This must be a CSS length value, like "100px", "100%" or "100em".
Field Detail
{String}
height
New viewport height.
{String}
width
New viewport width.