DropDownButtonItemTagHelper
Example
Razor
<item>
</item>
Attributes
| Attribute | Type | Description |
|---|---|---|
| click | String | Adds unique click callback for the menu item. |
| data | String | Adds a custom data callback to be added to the context of menu item - useful to attach context dynamically. |
| enabled | Boolean | Toggles the enabled state of the item. |
| hidden | Boolean | Indicates wether the item should hidden. |
| html-attributes | IDictionary<String,Object> | Adds custom attributes to the LI element of the menu button. |
| icon | String | Specifies the icon of the item. |
| id | String | Specifies the id of the item. |
| image-url | String | Specifies the image of the item. |
| sprite-css-class | String | Specifies custom css class added to the sprite icon element of the item. |
| text | String | Specifies the text of the item. ### items.url StringSpecifies the url of the item - it will render a element and will navigate the browser on click. |