m ProbablePrime moved page RootContextMenuItem (Component) to Component:RootContextMenuItem: Creating component Namespace |
add last info |
||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
|Name=Root Context Menu Item | |Name=Root Context Menu Item | ||
}} | }} | ||
Root context menu item is a component that makes a new context menu item appear for the active user for when they open their context menu. | |||
<!--T:2--> | <!--T:2--> | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|OnlyForSide|Nullable`1| | |OnlyForSide|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Chirality|Chirality]]>'''|TypeAdv0=true| When set, the item will only be inserted when the context menu is opened on the specified hand. | ||
|ExcludeOnTools|Bool| Determines whether or not the item shows up when opening the context menu while having a tool equipped on the same hand. | |ExcludeOnTools|Bool| Determines whether or not the item shows up when opening the context menu while having a tool equipped on the same hand. | ||
|ExcludePrimaryHand|Bool| Makes the item not show up when the context menu is open on the user's primary hand. | |ExcludePrimaryHand|Bool| Makes the item not show up when the context menu is open on the user's primary hand. | ||
|ExcludeSecondaryHand|Bool| Makes the item not show up when the context menu is open on the user's secondary hand. | |ExcludeSecondaryHand|Bool| Makes the item not show up when the context menu is open on the user's secondary hand. | ||
|Item|ContextMenuItemSource| The [[ContextMenuItemSource (Component)|ContextMenuItemSource]] that will be inserted into the context menu. | |Item|'''[[Component:ContextMenuItemSource|ContextMenuItemSource]]'''|TypeAdv4=true| The [[ContextMenuItemSource (Component)|ContextMenuItemSource]] that will be inserted into the context menu. | ||
}} | }} | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
<!--T:4--> | <!--T:4--> | ||
== Examples == | == Examples == | ||
<!--T:5--> | <!--T:5--> | ||
== Related Issues == | == Related Issues == | ||
<!--T:6--> | <!--T:6--> | ||
== Related Components == | == Related Components == | ||
[[Component:ContextMenuItemSource|ContextMenuItemSource]] | |||
[[Category: | [[Category:Components:Radiant UI:Context Menu{{#translation:}}|Root Context Menu Item]] | ||
[[Category:Components{{#translation:}}|Root Context Menu Item]] | |||
[[Category:Components: |
Latest revision as of 00:22, 25 October 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Root context menu item is a component that makes a new context menu item appear for the active user for when they open their context menu.
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. |
OnlyForSide
|
Nullable`1<Chirality> | When set, the item will only be inserted when the context menu is opened on the specified hand. |
ExcludeOnTools
|
Bool | Determines whether or not the item shows up when opening the context menu while having a tool equipped on the same hand. |
ExcludePrimaryHand
|
Bool | Makes the item not show up when the context menu is open on the user's primary hand. |
ExcludeSecondaryHand
|
Bool | Makes the item not show up when the context menu is open on the user's secondary hand. |
Item
|
ContextMenuItemSource | The ContextMenuItemSource that will be inserted into the context menu. |