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

MenuItem

Interface

Represents an interface for the Menu items.

Definition

Package:@progress/kendo-angular-menu

Properties

contentTemplate?

TemplateRef​<any>

Specifies a template for the item content.

Specifies the CSS classes that will be rendered on the item element (see example). Supports the type of values that are supported by ngClass.

Specifies the CSS styles that will be rendered on the item element (see example). Supports the type of values that are supported by ngStyle.

Represents the additional data that is associated with the Menu item.

disabled?

boolean

Specifies if the item is disabled (see example).

icon?

string

Specifies the name of the font icon that will be rendered for the item (see example).

items?

any[]

Specifies the children of the item (see example).

separator?

boolean

Specifies if this is a separator item. If set to true only the cssClass and cssStyle fields are rendered.

svgIcon?

SVGIcon

Defines an SVGIcon that will be rendered for the item using a KendoSVGIcon component (see example).

template?

TemplateRef​<any>

Specifies a template for the item.

text?

string

Specifies the item text (see example).

url?

string

Specifies a URL which is rendered as a href attribute on the item link (see example).