Pass Through documentation for Menu component
Some sections may not be visible due to the availability of the particular feature.
Defines passthrough(pt) options of Menu 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 MenuList 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 MenuItem component.
| label | type | description |
|---|---|---|
| root | MenuItemPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of MenuCheckboxItem component.
| label | type | description |
|---|---|---|
| root | MenuCheckboxItemPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of MenuRadioItem component.
| label | type | description |
|---|---|---|
| root | MenuRadioItemPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of MenuLabel component.
| label | type | description |
|---|---|---|
| root | MenuLabelPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of MenuSub component.
| label | type | description |
|---|---|---|
| root | MenuSubPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of MenuSeparator component.
| label | type | description |
|---|---|---|
| root | MenuSeparatorPassThroughType<HTMLAttributes<HTMLLIElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of MenuTrigger component.
| label | type | description |
|---|---|---|
| root | MenuTriggerPassThroughType<HTMLAttributes<HTMLButtonElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of MenuPortal component.
| label | type | description |
|---|---|---|
| root | MenuPortalPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of MenuIcon component.
| label | type | description |
|---|---|---|
| root | MenuIconPassThroughType<SVGAttributes<SVGElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of MenuCheckboxIcon component.
| label | type | description |
|---|---|---|
| root | MenuCheckboxIconPassThroughType<SVGAttributes<SVGElement>> | Used to pass attributes to the root's DOM element. |
Defines passthrough(pt) options of MenuRadioIcon component.
| label | type | description |
|---|---|---|
| root | MenuRadioIconPassThroughType<SVGAttributes<SVGElement>> | Used to pass attributes to the root's DOM element. |