Component:Expander

From Resonite Wiki
Revision as of 06:09, 22 July 2024 by AmasterAmaster (talk | contribs) (Small corrections.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Expander component as seen in the Scene Inspector


The Expander component is an intractable UIX element that expands a section called the SectionRoot under itself. The SectionRoot's active state will toggle when that expander is triggered, expanding it under the Slot the expander is on. This can be seen on the Scene Inspector.

Fields
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.
SectionRoot Slot The slot to expend with, by activating the slot that is referenced when toggled.

Usage

This component is combined with the Button component to trigger this expander component. This component is also combined with the TextExpandIndicator component to drive the text and show the user that this expander has expanded, collapsed, or is empty.

Examples

Related Components