1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Updated Design: Editor Events (markdown)

Nick O'Leary 2015-07-10 19:41:12 +01:00
parent 8a683a858e
commit 4b6fcd0a2f

@ -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 | |`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 |