mirror of https://github.com/node-red/node-red.git
Created Design: Runtime Events (markdown)
parent
d4c8b3f97f
commit
703b3bd17f
|
@ -0,0 +1,11 @@
|
|||
|
||||
All events are emitted by `runtime.events`.
|
||||
|
||||
| Event | Args | Description |
|
||||
|--------------------------|-------------------------|-------------|
|
||||
| `node-status` | `{id: node.id, status:statusMessage }`| A node status event to display in the editor |
|
||||
| `runtime-event` | `{id:"runtime-unsupported-version",type:"error",text:"message.id"}` | A runtime event that should be displayed in the editor as a notification
|
||||
| `node-examples-dir` | `{name:pkg.name,path:examplesDir}`| A directory of example flows has been discovered
|
||||
| `node-module-uninstalled`| `module` | A module has been removed from the runtime |
|
||||
| `node-icon-dir` | `path` | A directory of node icons has been discovered |
|
||||
| `type-registered` | `type` | A new node type has been registered |
|
Loading…
Reference in New Issue