Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (8)


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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(