<setup>
<setup>is a Sectional component that
acts as a container element for defining other components. Content defined within the <setup>
portion will not be rendered.
Attributes and Properties
The <setup> component has no attributes or properties.
Example: Defining maths in a <setup>
Components can be defined in a <setup> and referenced later in the document with the $name
notation.
Example: Defining geometry in a <setup>
Components can be defined in a <setup> and referenced later in the document with the $name notation.
Example: Using a <setup> within a <graph>
A <setup> block can also occur in a <graph>. In this case, we don’t want the <boolean> value to render on the <graph>, we just want to define it near the <updateValue> that is using it.