Dropdown Item

Default

Used in combination with the dropdown component.

<p-dropdown-item>Item A</p-dropdown-item>

To convert the dropdown item to an anchor, simply provide an href property value.

<p-dropdown-item href="/edit">Edit</p-dropdown-item>

Props

Name Type Description Options Default
href String Convert the dropdown item to an anchor by supplying a URL or URL fragment that the hyperlink points to.

Slots

Name Description
default Content of the dropdown item.
Last Updated: 10/23/2018, 4:17:55 PM