Moonshine::Bootstrap::Component::NavbarToggle
$self->navbar_toggle({ });
returns a Moonshine::Element that renders too..
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
To install Moonshine::Bootstrap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Moonshine::Bootstrap
CPAN shell
perl -MCPAN -e shell install Moonshine::Bootstrap
For more information on module installation, please visit the detailed CPAN module installation guide.