Class: BootstrapNav

BootstrapNav

Templates a bootstrap nav

Constructor

new BootstrapNav(optionsopt)

Constructor
Parameters:
Name Type Attributes Description
options object <optional>
Properties
Name Type Attributes Description
struct object <optional>
Properties
Name Type Attributes Default Description
$wrapper string <optional>
".tab-pane"
$link string <optional>
"a"
Source:

Extends

  • Template

Methods

populateChildren(data) → {BootstrapNav}

Populate the href and html
Parameters:
Name Type Description
data object
Properties
Name Type Attributes Description
href number | string
html jQuery | string <optional>
Source:
Returns:
Type
BootstrapNav

setActive() → {BootstrapNav}

Set the tab to active by running click() event on it
Source:
Returns:
Type
BootstrapNav