Difference between revisions of "SHIP:Node:listener"

From Serious Documentation
Jump to: navigation, search
(Properties)
(Parent Nodes)
Line 2: Line 2:
 
== Parent Nodes ==
 
== Parent Nodes ==
 
The following nodes are permitted to hold this node:
 
The following nodes are permitted to hold this node:
* [[SHIP:Node:box|box]]
+
* {{Node|box}}
* [[SHIP:Node:display|display]]
+
* {{Node|constant}}
* [[SHIP:Node:group|group]]
+
* {{Node|display}}
* [[SHIP:Node:layout|layout]]
+
* {{Node|group}}
* [[SHIP:Node:page|page]]
+
* {{Node|label}}
* [[SHIP:Node:text|text]]
+
* {{Node|layout}}
* [[SHIP:Node:variable|variable]]
+
* {{Node|page}}
 +
* {{Node|variable}}
  
 
== Child Nodes ==
 
== Child Nodes ==

Revision as of 14:08, 27 November 2012

A listener nodes watch one or more properties (including variable values!) and, when an optional condition passes, invoke a script.

Parent Nodes

The following nodes are permitted to hold this node:

Child Nodes

The following nodes are permitted to exist within this node:

Properties

Property Name Description
name A unique variable name within the listener's node peers
listeningto a comma separated list of properties that, when any of them change, wake the listener
condition An optional expression that results in a true/false or non-zero (true)/zero(false) result.
enabled Defaults to true, but can be set false to disable the listener.

Examples