Routing

You can implement routing in the Menu.

To set the functionality, either:

The following example demonstrates how to convert the routes to an array of MenuItems and navigate to the selected item route in the select event.

Example
View Source
Edit In Stackblitz  
Change Theme:

The following example demonstrates how to use a link template to render the routerLink directive.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?