ContextMenu Pass Through
Pass Through documentation for ContextMenu component
Viewer#
Some sections may not be visible due to the availability of the particular feature.
ContextMenuRoot PT Options#
Defines passthrough(pt) options of ContextMenu component.
| label | type | description |
|---|---|---|
| root | MenuRootPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
| list | MenuRootPassThroughType<HTMLAttributes<HTMLUListElement>> | Used to pass attributes to the list's DOM element. |
| item | MenuRootPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the item's DOM element. |
| checkboxItem | MenuRootPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the checkbox item's DOM element. |
| radioItem | MenuRootPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the radio item's DOM element. |
| label | MenuRootPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the label's DOM element. |
| trigger | MenuRootPassThroughType<HTMLAttributes<HTMLButtonElement>> | Used to pass attributes to the trigger's DOM element. |
| icon | MenuRootPassThroughType<HTMLAttributes<SVGElement>> | Used to pass attributes to the item icon's DOM element. |
| checkboxIcon | MenuRootPassThroughType<HTMLAttributes<SVGElement>> | Used to pass attributes to the checkbox item icon's DOM element. |
| radioIcon | MenuRootPassThroughType<HTMLAttributes<SVGElement>> | Used to pass attributes to the radio item icon's DOM element. |
| separator | MenuRootPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the separator's DOM element. |
| portal | MenuRootPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the portal's DOM element. |
ContextMenuList PT Options#
Defines passthrough(pt) options of ContextMenuList component.
| label | type | description |
|---|---|---|
| root | MenuListPassThroughType<HTMLAttributes<HTMLUListElement>> | Used to pass attributes to the root's DOM element. |
| content | MenuListPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the content's DOM element. |
ContextMenuItem PT Options#
Defines passthrough(pt) options of ContextMenuItem component.
| label | type | description |
|---|---|---|
| root | MenuItemPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the root's DOM element. |
ContextMenuCheckboxItem PT Options#
Defines passthrough(pt) options of ContextMenuCheckboxItem component.
| label | type | description |
|---|---|---|
| root | MenuCheckboxItemPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the root's DOM element. |
ContextMenuRadioGroup PT Options#
ContextMenuRadioItem PT Options#
Defines passthrough(pt) options of ContextMenuRadioItem component.
| label | type | description |
|---|---|---|
| root | MenuRadioItemPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the root's DOM element. |
ContextMenuLabel PT Options#
Defines passthrough(pt) options of ContextMenuLabel component.
| label | type | description |
|---|---|---|
| root | MenuLabelPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the root's DOM element. |
ContextMenuSub PT Options#
Defines passthrough(pt) options of ContextMenuSub component.
| label | type | description |
|---|---|---|
| root | MenuSubPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the root's DOM element. |
ContextMenuSeparator PT Options#
Defines passthrough(pt) options of ContextMenuSeparator component.
| label | type | description |
|---|---|---|
| root | MenuSeparatorPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the root's DOM element. |
ContextMenuTrigger PT Options#
Defines passthrough(pt) options of ContextMenuTrigger component.
| label | type | description |
|---|---|---|
| root | ContextMenuTriggerPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
ContextMenuPortal PT Options#
Defines passthrough(pt) options of ContextMenuPortal component.
| label | type | description |
|---|---|---|
| root | MenuPortalPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
ContextMenuIcon PT Options#
Defines passthrough(pt) options of ContextMenuIcon component.
| label | type | description |
|---|---|---|
| root | MenuIconPassThroughType<SVGAttributes<SVGElement>> | Used to pass attributes to the root's DOM element. |
ContextMenuCheckboxIcon PT Options#
Defines passthrough(pt) options of ContextMenuCheckboxIcon component.
| label | type | description |
|---|---|---|
| root | MenuCheckboxIconPassThroughType<SVGAttributes<SVGElement>> | Used to pass attributes to the root's DOM element. |
ContextMenuRadioIcon PT Options#
Defines passthrough(pt) options of ContextMenuRadioIcon component.
| label | type | description |
|---|---|---|
| root | MenuRadioIconPassThroughType<SVGAttributes<SVGElement>> | Used to pass attributes to the root's DOM element. |