You can implement routing in the Menu.
To set the functionality, either:
- Use the
selectevent to navigate to the route that the Menu item represents, or
- Use a link template to add the
routerLinkdirective to the item link.
The following example demonstrates how to convert the routes to an array of
MenuItems and navigate to the selected item route in the
The following example demonstrates how to use a link template to render the