Interface Event
Interface event emitted by Blackprint
Interface event can be listened after the node was initialized.
To register a callback for an event you need to call iface.on('event.name', function(...Arguments){ })
Event Name | Arguments | Description |
|
| Trigger when a cable was connected to a port, isOwner is boolean indicating if it was created from current node |
|
| Trigger when a cable was disconnected from a port |
|
| Trigger when a cable was created from a port |
|
| Trigger when port menu is going to be created |
|
| Trigger when node menu is going to be created |
*
Arguments on the table above with {...}
is a single object.
DropDowns
is an array, and you can push a callback or nested menu inside it.
Last updated