Description
This function sends a TriggerEvent on a designated output pin of the Javascript node.
The TriggerEvent is the equivalent of what is sent by a Switch that is not set in Toggle mode.
It is the equivalent of changing the state of the output from LOW to HIGH for a very short period of time and back to LOW again (or false to true and back to false).
This forces everything connected behind the designated output pin to be re-evaluated instantly regardless of the graph’s refresh time.
Syntax
node.sendTriggerEvent("OUTPUT PIN");
Parameters
Parameter | Type | Description |
---|---|---|
OUTPUT PIN |
String | Name of the output pin to send the TriggerEvent on |
Return
This function does not return anything.
Example
Coming soon.
Need more help with this?
Don’t hesitate to contact us here.