Required JS?
Hi, I'm trying to integrate the code in my application (an Angular 4 builded with Webpack and ASP.NET Core as server) and I cannot understand witch is the JS code to integrate to run the modular admin feature (eg. the sidebar menu). Not the vendors, as Bootstrap, nor the code used to run the demo. Just the JS that "runs the template"...
thanks
Hi @Trapulo For sidebar you can find the needed code here: https://github.com/modularcode/modular-admin-html/blob/master/src/app/_common/sidebar/sidebar.js
In case of using with angular, you'll either need to wrap this into a component (start listening inside ngOnInit and do .off inside destroy) or do something like this:
$document.on('click', '#sidebar-collapse-btn', function(event){