projects/components/widgets/navigation/menu/src/menu.component.doc.ts
A menu displays grouped navigation actions. The drop-down menu is typically used inside the navigation header to display a list of related links on a mouse hover or click on the trigger element.
Methods |
Inputs |
onSelect | ||||||||||||||||
onSelect($event: MouseEvent, widget: any, $item: any)
|
||||||||||||||||
Callback function which will be triggered when the Menu item is selected.
Parameters :
Returns :
void
|
animateitems |
Type : string
|
This property specifies the animation of an inner items. The animation is based on the CSS classes. Allowed Values:
|
autoclose |
Type : string
|
Default value : 'always'
|
This property controls the behaviour of menu when clicked. Allowed Values:
|
caption |
Type : string
|
Default value : 'Menu'
|
This property specifies the label of the menu. Bindable: |
class |
Type : string
|
Class of the widget. |
dataset |
Type : any
|
Default value : 'Menu Item 1, Menu Item 2, Menu Item 3'
|
Set this property to a variable to populate the list of values to display. Bindable: |
hint |
Type : string
|
Hint text is shown for the Menu widget on hover. Bindable: |
iconclass |
Type : string
|
CSS class of the icon. |
itemaction |
Type : string
|
This property specifies the item action for dynamically generated menu items. |
itemchildren |
Type : string
|
This property is to add sub menu items. Bindable: |
itemicon |
Type : string
|
This property specifies icon for dynamically generated menu items. Bindable: |
itemlabel |
Type : string
|
This property specifies label for dynamically generated menu items. Bindable: |
itemlink |
Type : string
|
This property specifies link for dynamically generated menu items Bindable: |
linktarget |
Type : string
|
This property specifies the context in which linked resources is open. Allowed Values:
|
menuclass |
Type : string
|
This property specifies class of the menu. |
menulayout |
Type : string
|
This property specifies layout of menu widget. Allowed Values:
|
menuposition |
Type : string
|
This property specifies the position of menu item. Allowed Values: |
name |
Type : string
|
Name of the menu widget. |
orderby |
Type : string
|
This Property allows user for multiple selection for ordering the display of rows based on fields in ascending or descending order. |
shortcutkey |
Type : string
|
The shortcut key property specifies a shortcut key to activate/focus an element. |
show |
Type : boolean
|
Default value : true
|
This property will be used to show/hide the Menu widget on the web page. Bindable: |
tabindex |
Type : number
|
Default value : 0
|
This property specifies the tab order of the Menu Widget. |
userrole |
Type : string
|
This property specifies the role for dynamically generated menu items. Bindable: |