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

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

Definition

Package:@progress/kendo-angular-menu

Selector:[kendoMenuFlatBinding]

Export Name:Accessible in templates as #kendoMenuFlatBindingInstance="kendoMenuFlatBinding"

Syntax:

html
<kendo-menu [kendoMenuFlatBinding]="flatData" [textField]="'text'" [idField]="'id'" [parentIdField]="'parentId'">
</kendo-menu>

Inputs

Defines the cssClass field of the items.

Defines the cssStyle field of the items.

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.

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

Defines the parent id field of the items.

Defines the separator field of the items.

svgIconField

string | string[]

Defines the svgIcon field of the items.

textField

string

Defines the text field of the items.

urlField

string

Defines the url field of the items.

Methods

Rebinds the Menu items.