Layout Plugin

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

Usage

This plugin is activated automatically upon window load.

Options

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.

Methods

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

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

PREMIUM TEMPLATE
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