I bought jettheme.I use navbar and sidebar in a module for lazyloading but for example in sidebar menu links (hover) don't work. What can i do
Hi Haci
You can include the file /src/js/components/_init.js
. We made it a separate file. Before this, the init function was in the plugin file itself. Most of the core JS plugins are initialized in this file.
Thanks
Hi Hacı,
Glad it worked. Feel free to let us know if you need any help.
Thanks
Hi Faizal
I downloaded the new version and got _initjs file.I CAN'T run some components(Datatables-sorting columns,Dropzone,fullcalendar) in my angular project.
Do I need to reinitialize the file for this and how do I do the reinitialize in angular.
Thanks
Hi Haci,
Do you have this file? /src/js/components/_init.js
. This file has a list which the plugin needs to initialize on the first-page load.
For the navbar and sidebar, initializing menu KTMenu.init();
is required./src/js/components/menu.js
Thanks
Thank you very much. i solved it with your help.
Thanks Faizal.
KTUtil.onDOMContentLoaded(function() {
KTWidgets.init();
});
is this what i have to reinitialize
Hi Haci
You have to reinitialize the menu function. From the HTML version assets, this file needs to reinitialize. /src/js/components/_init.js
Thanks
Thanks Faizal.
KTUtil.onDOMContentLoaded(function() {
KTWidgets.init();
});
is this what i have to reinitialize