projects/components/widgets/navigation/menu/src/nav/nav.component.doc.ts
The wmNav component defines the Nav widget.
Methods |
Inputs |
| onSelect | ||||||||||||||||
onSelect($event: Event, widget: any, $item: any)
|
||||||||||||||||
|
Callback function which will be triggered when nav item is selected.
Parameters :
Returns :
void
|
| autoclose |
Type : string
|
Default value : 'outsideClick'
|
|
This property controls how the nav items are displayed within the Nav Allowed Values:
|
| class |
Type : string
|
|
Class of the widget. |
| dataset |
Type : Array<any>
|
|
Set this property to a data source to construct a nav. Bindable: |
| horizontalalign |
Type : string
|
|
This property specifies how the elements should be aligned horizontally. Allowed Values:
|
| itembadge |
Type : string
|
|
Badge for the nav item. |
| itemchildren |
Type : string
|
|
Children for the nav item. Bindable: |
| itemicon |
Type : string
|
|
Class for the icon in the nav item. Bindable: |
| itemlabel |
Type : string
|
|
Label for the nav item. Bindable: |
| itemlink |
Type : string
|
|
Link for the nav item. Bindable: |
| layout |
Type : string
|
|
This property controls how the nav items are displayed within the Nav Allowed Values:
|
| name |
Type : string
|
|
Name of the Nav. |
| orderby |
Type : string
|
|
Allows to display the data in asc or desc order based on this property. |
| show |
Type : boolean
|
Default value : true
|
|
This property will be used to show/hide the nav widget on the web page. Bindable: |
| type |
Type : string
|
Default value : 'pills'
|
|
This property controls how the nav items are displayed within the Nav Allowed Values:
|
| userrole |
Type : string
|
|
User role for the nav item. Bindable: |