Closes the PhotoEditor SDK UI and disposes all Engine instance
Deserializes serialization schema to editor state
Disposes the PhotoEditor SDK Engine instance
Exports an image
returns if editor has some changes
Resets the PhotoEditor SDK
Serializes current editor state to the serialization schema
Dynamically sets the image to the ui
listener function to the end of the list of listeners for the specified
No checks are made to see if
listener has already been added. Multiple calls passing the
same combination of
listener will result in the
listener being added, and
called, multiple times.
Emits the event to all of its registered listeners.
The event to be emitted to its listeners.
The arguments to be passed along with the event.
false if there were no listeners for the emitted event.
Removes all previously registered listeners for the specified
The name of the event.
Removes the most recently added instance of
listener from the list of listeners for the
Once an event has been emitted, all listeners attached to it at the time of emitting will
be called in order. This implies that any
after emitting and before the last listener finishes execution will not remove them from
emit() in progress. Subsequent events will behave as expected.