@shakrmedia/editor-sdk ShakrEditor > on

ShakrEditor.on() method#

init event emitted when Shakr Editor window is initialized properly.

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

Parameters#

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

this