Layout Plugin

The layout plugin manages the layout in case of css failure to reset the height or width of the content.


This plugin is activated automatically upon window load.


Name Type Default Description
slimscroll Boolean TRUE Whether to activate slimScroll for the sidebar.
resetHeight Boolean TRUE Whether to reset height of the body to auto. You'd set this false if your main content div is scrollable rather than the body.


Method Description
fix Fix the content part of the page.
fixSidebar Fix the sidebar part of the page.

Example: $('body').layout('fix')

Material Dashboard Pro

Material Dashboard Pro ─ $59

Angular 2 Premium Material Bootstrap Admin with a fresh, new design inspired by Google's Material Design

Preview Buy Now

853+ purchases