Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Jet Theme in an angular project


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


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (8)


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



Thanks Faizal.
KTUtil.onDOMContentLoaded(function() {
KTWidgets.init();
});
is this what i have to reinitialize



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.



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

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


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(