Added a sentence about the expander component. |
add info |
||
Line 3: | Line 3: | ||
|Name=Text Expand Indicator | |Name=Text Expand Indicator | ||
}} | }} | ||
The '''TextExpandIndicator''' component is used in inspectors to show whether or not a section like slots under another slot is expanded out and/or has any children items. | |||
{{Table ComponentFields | {{Table ComponentFields | ||
|Text|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv0=true| | |Text|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv0=true| The text to drive with the dropdown indication. | ||
|SectionRoot|Slot| | |SectionRoot|Slot| The slot where children items for a slot is placed for the UI visual. | ||
|ChildrenRoot|Slot| | |ChildrenRoot|Slot| The slot to check for children slots to tell if it has children or not. | ||
|Closed|String| | |Closed|String| The string to display when the section is closed. | ||
|Opened|String| | |Opened|String| The string to display when the section is opened. | ||
|Empty|String| | |Empty|String| The string to display when <code>ChildrenRoot</code> is empty. | ||
|CustomEmptyCheck|{{RootFieldType|SyncDelegate`1|[[Type:Func`1|Func`1]]<[[Type:Bool|Bool]]>}}|TypeAdv6=true| | |CustomEmptyCheck|{{RootFieldType|SyncDelegate`1|[[Type:Func`1|Func`1]]<[[Type:Bool|Bool]]>}}|TypeAdv6=true| A custom check sync delegate to use to check if the target is empty. | ||
}} | }} | ||
Line 25: | Line 25: | ||
[[Category:Components:Uncategorized{{#translation:}}|Text Expand Indicator]] | [[Category:Components:Uncategorized{{#translation:}}|Text Expand Indicator]] | ||
[[Category:Components{{#translation:}}|Text Expand Indicator]] | [[Category:Components{{#translation:}}|Text Expand Indicator]] | ||
Latest revision as of 11:45, 3 August 2025
Component image 
Text Expand Indicator component as seen in the Scene Inspector

The TextExpandIndicator component is used in inspectors to show whether or not a section like slots under another slot is expanded out and/or has any children items.
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. Some components stop their functionality when this field is disabled, but some don't. |
Text
|
field drive of String | The text to drive with the dropdown indication. |
SectionRoot
|
Slot | The slot where children items for a slot is placed for the UI visual. |
ChildrenRoot
|
Slot | The slot to check for children slots to tell if it has children or not. |
Closed
|
String | The string to display when the section is closed. |
Opened
|
String | The string to display when the section is opened. |
Empty
|
String | The string to display when ChildrenRoot is empty.
|
CustomEmptyCheck
|
delegate of identity Func`1<Bool> | A custom check sync delegate to use to check if the target is empty. |
Usage
This component is combined with the Expander component to show the user that the expander has expanded, collapsed, or is empty using symbols.