Browse Source

Update Command events in TS

pull/4504/head
Artur Arseniev 4 years ago
parent
commit
a6901c3207
  1. 8
      index.d.ts

8
index.d.ts

@ -1215,11 +1215,9 @@ declare namespace grapesjs {
type ModalEvent = 'modal:open' | 'modal:close'; type ModalEvent = 'modal:open' | 'modal:close';
type CommandEvent = type CommandEvent =
| 'run:{commandName}' | `run:${string}`
| 'stop:{commandName}' | `stop:${string}`
| 'run:{commandName}:before' | `abort:${string}`;
| 'stop:{commandName}:before'
| 'abort:{commandName}';
type GeneralEvent = 'canvasScroll' | 'undo' | 'redo' | 'load'; type GeneralEvent = 'canvasScroll' | 'undo' | 'redo' | 'load';

Loading…
Cancel
Save