ImageEditorEventBuilder

Methods

ImageLoaded(System.String)

Defines the handler of the ImageLoaded client-side event. Fired when image is loaded. Can prevent the image rendering by calling the preventDefault() method.

For more information see ImageLoaded event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the ImageLoaded event.

ImageRendered(System.String)

Defines the handler of the ImageRendered client-side event. Fired when canvas is rendered with the image. This event is triggered by commands and when drawCanvas method is called.

For more information see ImageRendered event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the ImageRendered event.

Execute(System.String)

Defines the handler of the Execute client-side event. Fired when a command is executed.

For more information see Execute event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Execute event.

Error(System.String)

Defines the handler of the Error client-side event. Fired when an error happened with the image loading.

For more information see Error event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Error event.