HierarchyBindingDirective

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

Selector

[kendoMenuHierarchyBinding]

Export Name

Accessible in templates as #kendoHierarchyBindingInstance="kendoMenuHierarchyBinding"

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.

kendoMenuHierarchyBinding any[]

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

disabledField string | string[]

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

iconField string | string[]

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

separatorField string | string[]

Defines the separator field (or fields) 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

rebind

Rebinds the Menu items.