https://preview.keenthemes.com/html/metronic/docs/general/menu/advanced#dropdown
I programmatically create items for a drop down menu (with javascript) after the page is loaded with data attributes accoding this manual, but dropdown not work.
How can I activate dropdown menu on fly?
AWESOME...
Hi,
You can refer to Javascript Init Docs and use KTComponents.init()
to initialize newly populated core component on the fly, including KTMenu
.
If you need any further hep please let us know.
Regards.