Support Center & Knowledge base

Navigation view item

The navigation view item is made for being used within the Navigation View. This component supports the templating feature Hierarchy Reapeat and Children

Code example

<navigation-items>
  <navigation-view-item
      icon="book"
      hierarchy-repeat.for="item of structure.items"
      hierarchy-children-property="childrenPropertyFromItem"
      tag.bind="item.name"
      data.bind="item"
      >Navigation item text
  </navigation-view-item>
</navigation-items>
Property Type Description Default value
icon String Provides icon to the navigatino item (not implemented) string.empty
isSelected Boolean Determines if the navigation item is selected or not false
isExpanded Boolean Determines if the navigation item is expanded or not false