DropDownButtonItemTagHelper

Example

Razor
<item>
</item>

Attributes

AttributeTypeDescription
clickStringAdds unique click callback for the menu item.
dataStringAdds a custom data callback to be added to the context of menu item - useful to attach context dynamically.
enabledBooleanToggles the enabled state of the item.
hiddenBooleanIndicates wether the item should hidden.
html-attributesIDictionary<String,Object>Adds custom attributes to the LI element of the menu button.
iconStringSpecifies the icon of the item.
idStringSpecifies the id of the item.
image-urlStringSpecifies the image of the item.
sprite-css-classStringSpecifies custom css class added to the sprite icon element of the item.
textStringSpecifies 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.
In this article
ExampleAttributes
Not finding the help you need?
Contact Support