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 2016-05-29 23:50:54 +01:00
parent b82ee5c3d3
commit 3d04a7bf85

@ -4,8 +4,12 @@ All events are emitted by `RED.events`.
| Event | Args | Description |
|-------|------|-------------|
| `deploy` | | Flows have been deployed successfully |
| `nodes:add` | node | A node has been added (from 0.14.0)
| `nodes:remove` | node | A node has been removed (from 0.14.0)
| `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 |
| `editor:open` | | The editor tray has opened (from 0.14.0)
| `editor:close` | | The editor tray has closed (from 0.14.0)
| `editor:save` | node | a node edit has been saved (from 0.14.0)