diff --git a/Design:-Editor-Events.md b/Design:-Editor-Events.md index f755561..06d94f4 100644 --- a/Design:-Editor-Events.md +++ b/Design:-Editor-Events.md @@ -8,3 +8,11 @@ The follow components emit events for the internal workings of the editor. Need |`RED.workspaces` | `change` | `{ old: 'tab-id', workspace: 'tab-id' }` | The visible workspace tab has changed | +----- + +| Event | Args | Description | +|-------|------|-------------| +| `nodes:change` | `{ dirty: true/false }` | The 'dirty' state of the flow has changed.| +| `sidebar:resize` | | The sidebar has changed size.| +| `view:selection-changed` | `{ nodes: [], link: link }` | The node selection has changed. | +| `workspace:change` | `{ old: 'tab-id', workspace: 'tab-id' }` | The visible workspace tab has changed | \ No newline at end of file