m ProbablePrime moved page DynamicReferenceVariableDriver`1 (Component) to Component:DynamicReferenceVariableDriver`1: Creating component Namespace |
not a stub |
||
(2 intermediate revisions by one other user not shown) | |||
Line 7: | Line 7: | ||
|Name=DynamicReferenceVariableDriver`1 | |Name=DynamicReferenceVariableDriver`1 | ||
}} | }} | ||
This component drives a field containing a reference type. | This component drives a field containing a reference type. | ||
For demonstration purposes, this component uses | For demonstration purposes, this component uses a Slot. | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|VariableName|String|The name of the variable to use | |VariableName|String|The name of the variable to use | ||
|Target| | |Target|{{RootFieldType|RefDrive`1|T}}|TypeAdv1=true|The field to drive | ||
|DefaultTarget| | |DefaultTarget|'''T'''|TypeAdv2=true| The reference to use if the dynamic variable cannot be resolved. | ||
}} | }} | ||
Line 33: | Line 29: | ||
</translate> | </translate> | ||
[[Category:Generics{{#translation:}}]] | [[Category:Generics{{#translation:}}]] | ||
[[Category:Components{{#translation:}}| | [[Category:Components{{#translation:}}|Dynamic Reference Variable Driver`1]] | ||
[[Category:Generic Components{{#translation:}}|Dynamic Reference Variable Driver`1]] | |||
[[Category:Components:Data:Dynamic{{#translation:}}| | [[Category:Components:Data:Dynamic{{#translation:}}|Dynamic Reference Variable Driver`1]] |
Latest revision as of 19:15, 23 October 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
This component drives a field containing a reference type.
For demonstration purposes, this component uses a Slot.
Usage
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
VariableName
|
String | The name of the variable to use |
Target
|
direct RefDrive`1<T> | The field to drive |
DefaultTarget
|
T | The reference to use if the dynamic variable cannot be resolved. |