Class pwlib.appEvent.imageSizeChange
Extends
pwlib.appEvent.
Image size change event. This event is not cancelable.
Defined in: lib.js.
Constructor Attributes | Constructor Name and Description |
---|---|
pwlib.appEvent.imageSizeChange(width, height)
|
Field Attributes | Field Name and Description |
---|---|
New image height.
|
|
New image width.
|
- Fields borrowed from class pwlib.appEvent:
- cancelable, defaultPrevented, target, type
- Methods borrowed from class pwlib.appEvent:
- preventDefault, stopPropagation, toString
Class Detail
pwlib.appEvent.imageSizeChange(width, height)
- Parameters:
- {Number} width
- The new image width.
- {Number} height
- The new image height.
- Throws:
- {TypeError}
- If any of the arguments are not numbers.
Field Detail
{Number}
height
New image height.
{Number}
width
New image width.