This widget returns the list of all the navigation links or a single navigation link if the alias for a particular navigation is used.
alias | Specifies the alias of the navigation. |
---|
navigation | Returns the list of all the navigation links as of no alias is used with ms.navigation. | ||||||
---|---|---|---|---|---|---|---|
navigation.links | Returns the list of links available under a particular navigation of which alias attribute is used.
|
<ms-navigation alias="header">
<div v-for="link in navigation.links">
<a :href="link.url">{{link.title}}</a>
</div>
</ms-navigation>
<ul ms-widget="ms.navigation" ms-data-alias="header">
<li ng-repeat="link in navigation.links">
<a href="{{link.url}}">{{link.title}}</a>
</li>
</ul>