A list of all Actions, Conditions and Expressions supported in this addon.
General
-
Actions
Import {0}
Loads a .js file in the DOM side.
-
Expressions
messageAsBeautifiedJSON
Gets an human-readable JSON of the last relevant IPC message sent.
Call DOM Side
-
Actions
Send {0}({1})
Sends an event to the DOM Side.
Invoke {0}({1})
Invokes a procedure call from the DOM Side.
Call DOM Side Response
-
Conditions
On {0} response
Triggers after DOM Side returns a value from an "Invoke" call.
-
Expressions
message
Contains the last relevant IPC message sent. Use this on all the triggers available.
messageTag
Contains the last relevant IPC message tag/id sent. Use this on all the triggers available.
fromMessage
If you sent an object or array message, use a dot notation path to get a value from it.
messageAsJSON
Stringifies the last relevant IPC message sent.
Handle DOM Side Call
-
Actions
Return {0}
Sets the value to return to the DOM Side from a procedure call. Use this inside the "On handle" trigger.
-
Conditions
On handle {0}
Registers a procedure call that the DOM Side can call. [u]You can only register one event for each tag[/u].
On event {0}
Triggers when the DOM Side sends an event with the given tag / id.
{my} On Any Event
Triggers when the DOM Side sends any event