@shakrmedia/editor-sdk ShakrEditor > on

ShakrEditor.on() method#

load event emitted when Shakr Editor is fully loaded and ready to be used.

Signature:
on(type: 'load', listener: () => void): this;

Parameters#

ParameterTypeDescription
type'load''open'
listener() => voidevent listener function
Returns:

this