New to Kendo UI for AngularStart a free 30-day trial

Represents a directive that converts the provided hierarchical data to MenuItems and binds them to the Menu.

Definition

Package:@progress/kendo-angular-menu

Selector:[kendoMenuHierarchyBinding]

Export Name:Accessible in templates as #kendoMenuHierarchyBindingInstance="kendoMenuHierarchyBinding"

Syntax:

html
<kendo-menu [kendoMenuHierarchyBinding]="hierarchicalData" [textField]="'text'" [childrenField]="'items'">
</kendo-menu>

Inputs

childrenField

string | string[]

Defines the children field (or fields) of the items.

cssClassField

string | string[]

Defines the cssClass field (or fields) of an item.

cssStyleField

string | string[]

Defines the cssStyle field (or fields) of an item.

disabledField

string | string[]

Defines the disabled field (or fields) of an item.

iconField

string | string[]

Defines the icon field (or fields) of an item.

Specifies the array of data which will be used to populate the Menu.

separatorField

string | string[]

Defines the separator field (or fields) of the items.

svgIconField

string | string[]

Defines the svgIcon field of the items.

textField

string | string[]

Defines the text field (or fields) of an item.

urlField

string | string[]

Defines the url field (or fields) of an item.

Methods

Rebinds the Menu items.