Menu Pass Through

Pass Through documentation for Menu component

Viewer#

Some sections may not be visible due to the availability of the particular feature.

Loading...

Defines passthrough(pt) options of Menu component.

labeltypedescription
rootMenuRootPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the root's DOM element.
listMenuRootPassThroughType<HTMLAttributes<HTMLUListElement>>Used to pass attributes to the list's DOM element.
itemMenuRootPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the item's DOM element.
checkboxItemMenuRootPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the checkbox item's DOM element.
radioItemMenuRootPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the radio item's DOM element.
labelMenuRootPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the label's DOM element.
triggerMenuRootPassThroughType<HTMLAttributes<HTMLButtonElement>>Used to pass attributes to the trigger's DOM element.
iconMenuRootPassThroughType<HTMLAttributes<SVGElement>>Used to pass attributes to the item icon's DOM element.
checkboxIconMenuRootPassThroughType<HTMLAttributes<SVGElement>>Used to pass attributes to the checkbox item icon's DOM element.
radioIconMenuRootPassThroughType<HTMLAttributes<SVGElement>>Used to pass attributes to the radio item icon's DOM element.
separatorMenuRootPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the separator's DOM element.
portalMenuRootPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the portal's DOM element.

Defines passthrough(pt) options of MenuList component.

labeltypedescription
rootMenuListPassThroughType<HTMLAttributes<HTMLUListElement>>Used to pass attributes to the root's DOM element.
contentMenuListPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the content's DOM element.

Defines passthrough(pt) options of MenuItem component.

labeltypedescription
rootMenuItemPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuCheckboxItem component.

labeltypedescription
rootMenuCheckboxItemPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuRadioItem component.

labeltypedescription
rootMenuRadioItemPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuLabel component.

labeltypedescription
rootMenuLabelPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuSub component.

labeltypedescription
rootMenuSubPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuSeparator component.

labeltypedescription
rootMenuSeparatorPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuTrigger component.

labeltypedescription
rootMenuTriggerPassThroughType<HTMLAttributes<HTMLButtonElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuPortal component.

labeltypedescription
rootMenuPortalPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuIcon component.

labeltypedescription
rootMenuIconPassThroughType<SVGAttributes<SVGElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuCheckboxIcon component.

labeltypedescription
rootMenuCheckboxIconPassThroughType<SVGAttributes<SVGElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuRadioIcon component.

labeltypedescription
rootMenuRadioIconPassThroughType<SVGAttributes<SVGElement>>Used to pass attributes to the root's DOM element.