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