PanelBarItemTagHelper
Example
Razor
<panelbar-item>
<content></content>
<items></items>
</panelbar-item>
ChildTags
| Tag Name | Details |
|---|---|
| content | PanelBarItemContentTagHelper |
| items | PanelBarNestedItemsTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| content-url | String | Specifies the url from which the item content will be loaded |
| enabled | Boolean | Specifies whether the item is initially enabled |
| encoded | Boolean | Specifies whether the item's text is encoded |
| expanded | Boolean | Specifies if an item will be expanded |
| icon | String | Specifies custom class name for the icon displayed by the item |
| icon-class | String | Specifies custom class name for the icon displayed by the item |
| image-html-attributes | Object | Specifies the HTML attributes of the image |
| image-url | String | Specifies the URL of the image displayed by the item |
| link-html-attributes | Object | Specifies the HTML attributes of the link |
| selected | Boolean | Specifies whether the item is initially selected |
| text | String | Specifies the text displayed by the item |
| url | String | Specifies the URL that the item links to |
| visible | Boolean | Specifies whether the item will be rendered |