m ProbablePrime moved page ContextMenuSubmenu (Component) to Component:ContextMenuSubmenu: Creating component Namespace |
Automated: update Fields, Categories |
||
Line 14: | Line 14: | ||
|SearchWholeHierarchy|Bool| {{stub}} | |SearchWholeHierarchy|Bool| {{stub}} | ||
|DisableFlick|Bool| {{stub}} | |DisableFlick|Bool| {{stub}} | ||
|SpeedOverride|Nullable`1| | |SpeedOverride|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float|Float]]>'''|TypeAdv3=true| | ||
|CounterClockwise|Bool| Whether the items should be arranged clockwise or counter-clockwise in the submenu. | |CounterClockwise|Bool| Whether the items should be arranged clockwise or counter-clockwise in the submenu. | ||
|KeepPosition|Bool| When set, the context menu will stay in the same place as the submenu opens. Otherwise, the context menu will recenter on the user's laser. | |KeepPosition|Bool| When set, the context menu will stay in the same place as the submenu opens. Otherwise, the context menu will recenter on the user's laser. | ||
Line 33: | Line 33: | ||
[[Category:ComponentStubs]] | [[Category:ComponentStubs]] | ||
[[Category:Components|Context Menu Submenu]] | [[Category:Components:Radiant UI:Context Menu{{#translation:}}|Context Menu Submenu]] | ||
[[Category:Components: | [[Category:Components{{#translation:}}|Context Menu Submenu]] |
Revision as of 21:00, 3 March 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
The ContextMenuSubmenu component can be used in combination with any button component to make said button open a custom context menu when clicked. This is commonly done on avatars, using a RootContextMenuItem as the button, but can also be used on anything else.
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. |
ItemsRoot
|
Slot | All ContextMenuItemSources on slots under this one will be included in the submenu. |
SearchWholeHierarchy
|
Bool | This article or section is a Stub. You can help the Resonite Wiki by expanding it. |
DisableFlick
|
Bool | This article or section is a Stub. You can help the Resonite Wiki by expanding it. |
SpeedOverride
|
Nullable`1<Float> | |
CounterClockwise
|
Bool | Whether the items should be arranged clockwise or counter-clockwise in the submenu. |
KeepPosition
|
Bool | When set, the context menu will stay in the same place as the submenu opens. Otherwise, the context menu will recenter on the user's laser. |
Hidden
|
Bool | If set, the submenu is only visible to the user that opened it, (The button to open it) |
Usage
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Related Issues
This article or section is a Stub. You can help the Resonite Wiki by expanding it.