Tab is an HTML component that makes exploring and switching between different views easier.
Bootstrap Tabs add quick, dynamic tab functionality to transition through panes of local content, even via dropdown menus.
Propeller Tabs consist of Bootstrap HTML structure with Propeller customized classes and jQuery based on material design standards. Add
.pmd-tabs to nav tag for applying Propeller Theme to the tabs.
.pmd-tabs-bg is used to add a background to the tabs.
Equal Width Tabs
Equal Width Tabs have same width, calculated either as the view width divided by the number of tabs, or based on the widest tab label. Add
.nav-justified to the list to create fixed tabs.
Scrollable tabs display a subset of tabs at any given moment. They can contain longer tab labels and a larger number of tabs than fixed tabs. Add
.pmd-tabs-scroll to the nav tag to create scrollable tabs. Also, a div with
.pmd-tabs-scroll-container needs to be added.
Tabs with Dropdown
Add Propeller's Dropdown menu to make it a part of tab. To do so create a drop down list within the tablist and add
.dropdown-menu to it.
Tabs without background
.pmd-tabs-bg to remove the background color/background image.
The Propeller CSS classes apply various predefined visual enhancements to the tabs. The table lists the available classes and their effects.
||Add Propeller css to the tabs.||Required|
||Used to highlight active tab with a line bar.||Required|
||Add this class while creating scrollable tabs.||Required|
||Add this wrapper class to the list of tabs while creating scrollable tabs.||Required|
||Adds background css to the tabs.||Optional|
See here for more documentation on this.
||This event fires on tab show, but before the new tab has been shown. Use
||This event fires on tab show after a tab has been shown. Use
||This event fires when a new tab is to be shown (and thus the previous active tab is to be hidden). Use
||This event fires after a new tab is shown (and thus the previous active tab is hidden). Use