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 CommandEvent =
| 'run:{commandName}'
| 'stop:{commandName}'
| 'run:{commandName}:before'
| 'stop:{commandName}:before'
| 'abort:{commandName}';
| `run:${string}`
| `stop:${string}`
| `abort:${string}`;
type GeneralEvent = 'canvasScroll' | 'undo' | 'redo' | 'load';

Loading…
Cancel
Save