NAME
Moonshine::Bootstrap::Component::Nav
SYNOPSIS
$self
->nav();
options
- class
- switch
-
tabs or pills
- stacked
-
Pills are also vertically stackable. Just add
stacked
=> 1
- justified
-
"Easily make tabs or pills equal widths of their parent at screen wider than 768pm". On smaller screens, nav links become stacked.
justified
=> 1
renders
<ul class=
"nav nav-tabs"
>
<li role=
"presentation"
class=
"active"
><a href=
"#"
>Home</a></li>
<li role=
"presentation"
><a href=
"#"
>Profile</a></li>
<li role=
"presentation"
><a href=
"#"
>Messages</a></li>
</ul>