Block Group: | Logic |
Icon: |
![]() |
The Event Gate block listens for changes to its input properties and fires a new event when all of the input properties have changed.
A change occurs when the property's value becomes different from its initial value when the page is first loaded, or when the value changes after a reset is triggered. The initial output of a Script block that is set to autorun is not considered a change.
Optionally, this block can also log the order of the changes it listens for.
A common use of the Event Gate block is to make sure all relevant strings are loaded before beginning data analysis.
The following properties of the Event Gate block can take input and give output.
reset resets the listener.
logOrder specifies whether and how events are logged. Logging begins with a reset and ends when all fields have been updated at least once. The value of the logOrder property can be one of the following:
input n specifies one of the values that this block listens to.
The following properties of the Event Gate block can give output but cannot take input.
The following image shows an Event Gate block. In this example, it is evident that the three strings have been loaded and that the event has fired, because the logOrder property is populated.