Class pwlib.appEvent.imageSave
Extends
pwlib.appEvent.
The image save event. This event is cancelable.
Defined in: lib.js.
Constructor Attributes | Constructor Name and Description |
---|---|
pwlib.appEvent.imageSave(dataURL, width, height)
|
Field Attributes | Field Name and Description |
---|---|
The image saved by the browser, using the base64 encoding.
|
|
Image height.
|
|
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.imageSave(dataURL, width, height)
- Parameters:
- {String} dataURL
- The data URL generated by the browser holding the pixels of the image being saved, in PNG format.
- {Number} width
- The image width.
- {Number} height
- The image height.
Field Detail
{String}
dataURL
The image saved by the browser, using the base64 encoding.
{Number}
height
Image height.
{Number}
width
Image width.