(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|TypeString0=Nullable<Chirality>| When set, the item will only be inserted when the context menu is opened on the specified hand.
|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.