Browse Source

Update events JSDoc

pull/3073/head
Artur Arseniev 5 years ago
parent
commit
0aca90c960
  1. 3
      src/editor/index.js

3
src/editor/index.js

@ -87,6 +87,9 @@
* ### Modal
* * `modal:open` - Modal is opened
* * `modal:close` - Modal is closed
* ### Parser
* * `parse:html` - On HTML parse, an object containing the input and the output of the parser is passed as an argument
* * `parse:css` - On CSS parse, an object containing the input and the output of the parser is passed as an argument
* ### Commands
* * `run:{commandName}` - Triggered when some command is called to run (eg. editor.runCommand('preview'))
* * `stop:{commandName}` - Triggered when some command is called to stop (eg. editor.stopCommand('preview'))

Loading…
Cancel
Save