FlatBindingDirective

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

Selector

[kendoMenuFlatBinding]

Export Name

Accessible in templates as #kendoFlatBindingInstance="kendoMenuFlatBinding"

Inputs

cssClassField string

Defines the cssClass field of the items.

cssStyleField string

Defines the cssStyle field of the items.

kendoMenuFlatBinding any[]

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

disabledField string

Defines the disabled field of the items.

iconField string | string[]

Defines the icon field of the items.

idField string

Defines the id field of the items.

parentIdField string

Defines the parent id field of the items.

separatorField string

Defines the separator field of the items.

textField string

Defines the text field of the items.

urlField string

Defines the url field of the items.

Methods

rebind

Rebinds the Menu items.