Configuring Item Properties

The Menu enables you to apply configuration options to its item properties.

Text

You can set the text of the Menu items by using the text property.

Example
View Source
Edit In Stackblitz  
Change Theme:

URL

You can set the URL of the items by using the url property. The URL will be rendered as a href attribute on the item link.

Example
View Source
Edit In Stackblitz  
Change Theme:

Icon

You can specify the name of a font icon that will be rendered for the item by using the icon property.

Example
View Source
Edit In Stackblitz  
Change Theme:

Styles and Classes

You can set styles and classes to the items by using the cssStyle and cssClass properties.

Example
View Source
Edit In Stackblitz  
Change Theme:

Disabled Items

You can specify that a Menu item is disabled by using the disabled property.

Example
View Source
Edit In Stackblitz  
Change Theme: