Example of Template in Javascript Menu Bar Control

/
/
Template

This sample demonstrates the template functionalities of the menu component. Interact with menu using hover / click to display sub menu pop-up items with its customized templates.

More Details...

Description

The menu component has an option to customize menu items using the template property, so that the menu items can be rendered according to the requirement. In this demo, the below customization are demonstrated. Header menu items and the 'Products' sub menu items represents the customization of default rendering of li elements i.e. ${category} in template. 'Services' sub menu item represent the customization of li element with badge component. 'About Us' sub menu item showed with card component in a single li. For more information, you can refer to the templates section from the documentation.