Parent Component Object
Parent Component Object is always used in combination with a Component Object. A Parent Component Object will search upwards in the component tree until it finds a Component Object node and mirror that node. Any change being done to one node will be reflected in the other nodes. Multiple Parent Component Object nodes in the same component will always mirror the same Component Object.
The node is used much like an Object where you can output properties on the node. The node does not have an Id instead the data is shared with the parent component. This node is very useful in patterns such as radio groups where child components may need to access the Component Object of its parent.
Properties
Data | Description |
---|
Properties | The properties to set on the closest parent Component Object. When this input is changed via a connection the parent Component Object will be updated. |
Signal | Description |
---|
Fetch | Normally when a Parent Component State is created, the property outputs are immediately updated. If you want to control how the data is updated you can connect to the Fetch signal input. Then you need to explictly send a signal to fetch the data.
With Fetch connected the output data won't change until Fetch is explicitly triggered again. |
Outputs
Properties
Data | Description |
---|
Parent Properties | The values of the properties of the closest parent Component Object. |
Signal | Description |
---|
Changed | This event is triggered when any of the properties have changed. |
Fetched | Signal when this node has bound itself to a Component Object. Triggers immediately if the Fetch inputs isn't connected, and will otherwise trigger when the Fetch input is signaled. |
Changed Property Signals | One changed signal output will be created for every property. They will emit a signal when the property changes value. |