@shakrmedia/editor-sdk ShakrEditor > on

ShakrEditor.on() method#

finish event emitted when Shakr Editor finishes a editing session. Shakr Editor iframe window will be closed when this event is emitted. data parameter with a rendered video url will be provided to event listener when ShakrEditorOptions.wait_rendering is true.

Signature:
on(type: 'finish', listener: (data?: ShakrEditorFinishEvent) => void): this;

Parameters#

ParameterTypeDescription
type'finish''finish'
listener(data?: ShakrEditorFinishEvent) => voidevent listener function
Returns:

this