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
Property | Attribute | Required | Description | Type | Default |
---|---|---|---|---|---|
disabled | disabled | false | boolean | ||
href | href | false | string | '#' | |
target | target | false | string |
Parts
Name | Description |
---|---|
link | Can 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