HierarchyBindingDirective
Represents a directive that converts the provided hierarchical data to MenuItems and binds them to the Menu.
<kendo-menu [kendoMenuHierarchyBinding]="hierarchicalData" [textField]="'text'" [childrenField]="'items'">
</kendo-menu>
Selector
[kendoMenuHierarchyBinding]
Export Name
Accessible in templates as #kendoHierarchyBindingInstance="kendoMenuHierarchyBinding"
Inputs
Name | Type | Default | Description |
---|---|---|---|
childrenField |
|
Defines the | |
cssClassField |
|
Defines the | |
cssStyleField |
|
Defines the | |
kendoMenuHierarchyBinding |
|
Specifies the array of data which will be used to populate the Menu. | |
disabledField |
|
Defines the | |
iconField |
|
Defines the | |
separatorField |
|
Defines the | |
svgIconField |
|
Defines the | |
textField |
|
Defines the | |
urlField |
|
Defines the |
Methods
rebind |
---|
Rebinds the Menu items. |