ReferencetriggerSet

<triggerSet>

<triggerSet> is a General Operator component that combines the actions of multiple <updateValue>, <triggerSet> and/or <callAction> components and allows them to be triggered by a single button click interaction or boolean condition.

Attributes and Properties

Attributes for <triggerSet>
AttributeTypeValues
anchor = "…"point
draggable = "…"boolean"true" "false"
labelIsName = "…"boolean"true" "false"
positionFromAnchor = "…"text"upperright" "upperleft" "lowerright" "lowerleft" "top" "bottom" "left" "right" "center"
triggerWhen = "…""true" "false"
triggerWhenObjectsClicked = "…"
triggerWhenObjectsFocused = "…"
triggerWith = "…"
Props for <triggerSet name="t">
PropertyType
$t.anchorpoint
$t.disabledboolean
$t.draggableboolean
$t.fixedboolean
$t.fixLocationboolean
$t.hiddenboolean
$t.labellabel
$t.labelIsNameboolean
$t.positionFromAnchortext

Example: <triggerSet> with a button

A <triggerSet> is used to link muliple actions that take place with one button click.


Example: <triggerSet> on a graph

A <triggerSet> button can be rendered on a <graph>. The position of the button is specified with the anchor attribute.


Attribute Example: triggerWhen

The triggerWhen attribute takes a boolean condition as input. When the boolean condition evaluates to true, the actions within the <triggerSet> are performed.


Attribute Example: triggerWith

The triggerWith attribute takes a component reference as input. When the referenced component has a change in value, the actions within the <triggerSet> are performed.


Attribute Example: triggerWhenObjectsClicked

The triggerWhenObjectsClicked attribute takes a list of target “objects” as its input. Objects are components that have been defined within the graph and can be clicked.


Attribute Example: anchor

The anchor attribute specifies the position of the <triggerSet> button when placed within a <graph>.


Attribute Example: labelIsName

The labelIsName attribute is a shortcut to adding a <label> child to a <triggerSet>.