Header Menu
Having to dynamically build this section in partial views in .net core and loosing javascript/css when doing so. Is there javascript code for creating the dropdown with sub menu?
Replies (1)
Hi,
The menu.js is reponable of creating a new menu instances, you can create new menu dropdown by creating a new instance of KTMenu.
new KTMenu(elements);
Check example in file: _keenthemes/src/metronic/demo1/js/components/menu.js.
Also check out our Menu component doc:
https://preview.keenthemes.com/metronic8/demo1/documentation/general/menu/overview.html