Keen - The Ultimate Multi-Demo Bootstrap Admin Theme

The most complete UI/UX template solution for today's web projects of any size

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/theme/demo/[demo_id]/scripts/bundle/layout.js

Function Description
Private Functions
initHeader() Initialize the header (KHeader).
initHeaderMenu() Initialize the offcanvas toggle (KOffcanvas) and horizontal menu (KMenu) in the header.
initHeaderTopbar() Initialize topbar toggle (KToggle) in the header for the mobile view display.
initAside() Initialize the left aside menu for offcanvas toggle (KOffcanvas).
initAsideMenu() Initialize the left aside menu (KMenu).
initAsideToggler() Initialize the left aside toggle (KToggle).
initAsideSecondary() Initialize the secondary aside toggle (KToggle).
initScrolltop() Initialize the page scrolltop toggle button (KScrolltop).
initPageStickyPortlet() Initialize the page sticky portlet, if any sticky portlet on the page. (KPortlet).
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 (KMenu) instance.
onAsideToggle() Event on toggle left aside menu.
getAsideToggler() Get the aside menu toggle instance (KToggle).
openAsideSecondary() Open secondary aside panel programatically.
closeAsideSecondary() Close secondary aside panel programatically.
getAsideSecondaryToggler() Get secondary aside panel toggler instance (KToggle).
onAsideSecondaryToggle() Event on secondary aside panel toggle.
closeMobileAsideMenuOffcanvas() Close mobile aside menu offcanvas programatically.
closeMobileHeaderMenuOffcanvas() Close mobile header menu offcanvas programatically.