@shakrmedia/editor-sdk ShakrEditor > on
ShakrEditor.on() method
init event emitted when Shakr Editor window is initialized properly.
on(type: 'init', listener: () => void): this;
Parameters
| Parameter | Type | Description |
|---|---|---|
| type | 'init' | 'init' |
| listener | () => void | event listener function |
this