Metronic

The Ultimate Bootstrap & Angular 7 Admin Theme Framework For Next Generation Applications

Demo Javascripts

KLayout is the most important script that handles most of the base layouts. The layout scripts are located within each demo's scripts folder; [root]/theme/default/src/assets/js/theme/demos/[demo_id]/layout.js

Function Description
Private Functions
initHeader() Initialize the header (KTHeader).
initHeaderMenu() Initialize the offcanvas toggle (KTOffcanvas) and horizontal menu (KTMenu) in the header.
initHeaderTopbar() Initialize topbar toggle (KTToggle) in the header for the mobile view display.
initAside() Initialize the left aside menu for offcanvas toggle (KTOffcanvas).
initAsideMenu() Initialize the left aside menu (KTMenu).
initAsideToggler() Initialize the left aside toggle (KTToggle).
initAsideSecondary() Initialize the secondary aside toggle (KTToggle).
initScrolltop() Initialize the page scrolltop toggle button (KTScrolltop).
initPageStickyPortlet() Initialize the page sticky portlet, if any sticky portlet on the page. (KTPortlet).
Public Functions
init() Initialize the main function.
initHeader() Initialize all the header functions.
initHeader();
initHeaderMenu();
initHeaderTopbar();
initScrolltop();
initAside() Initialize all the left aside functions.
initAside();
initAsideMenu();
initAsideToggler();
initAsideSecondary() Initialize the secondary aside toggle.
initPageStickyPortlet() Initialize the page sticky portlet, if any sticky portlet on the page.
getAsideMenu() Get the aside menu (KTMenu) instance.
onAsideToggle() Event on toggle left aside menu.
getAsideToggler() Get the aside menu toggle instance (KTToggle).
openAsideSecondary() Open secondary aside panel programatically.
closeAsideSecondary() Close secondary aside panel programatically.
getAsideSecondaryToggler() Get secondary aside panel toggler instance (KTToggle).
onAsideSecondaryToggle() Event on secondary aside panel toggle.
closeMobileAsideMenuOffcanvas() Close mobile aside menu offcanvas programatically.
closeMobileHeaderMenuOffcanvas() Close mobile header menu offcanvas programatically.
I run a team of 20 product managers, developers, QA and UX resources. Previously we designed everything ourselves. For our newest platform we tried out Metronic. I cannot overestimate the impact Metronic has had. It's accelerated development 3x and reduced QA issues by 50%. If you add up the reduced need for design time/resources, the increase in dev speed and the reduction in QA, it's probably saved us $100,000 on this project alone, and I plan to use it for all platforms moving forward.
The flexibility of the design has also allowed us to put out a better looking & working platform and reduced my headaches by 90%. Thank you KeenThemes! Jonathan Bartlett, Metronic Customer

Powerful Framework

Everything within Metronic is customizable globally to provide limitless unique styled projects

Multi Demo

Choose a perfect design for your next project among hundreds of demos

Limitless Components

A huge collection of components to power your application with the latest UI/UX trands

Angular 7 Support

Enterprise ready Angular 7 integration with built-in authentication module and many more

Bootstrap 4

Metronic deeply customizes Bootstrap with native look and feel

Exclusive Datatable Plugin

Our super sleek and intuitive Datatable comes packed with all advanced CRUD features

70,000+ Strong

Metronic is the only theme trusted by over 70,000 developers world wide

Continuous Updates

Lifetime updates with new demos and features is guaranteed

Quality Code

Metronic is written with a code structure that all developers will be able to pick up easily and fall in love

The Ultimate Bootstrap Admin Theme Trusted By Over 70,000 Developers World Wide