fun-dropdown-menu-item

Item for a fun-dropdown-menu.

If the href property is omitted or set to ’#’ click events will have the default prevented, to stop navigation from happening. Otherwise the menu item will behave like a link.

Examples

Specifications

Properties

PropertyAttributeRequiredDescriptionTypeDefault
disableddisabledfalseboolean
hrefhreffalsestring'#'
targettargetfalsestring

Parts

NameDescription
linkCan be used to style the anchor element using the fun-dropdown-menu-item::part(link) selector.

Dependencies

Depends on

This documentation page generated from the source at fun-dropdown-menu-item.tsx

Search Gunnel

Powered byAlgolia