@shakrmedia/editor-sdk ShakrEditor > on

ShakrEditor.on() method#

closed event emitted when a user closed Shakr Editor.

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

Parameters#

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

this