I am attempting to replicate the collapsible Bootstrap responsive navbar using AngularStrap.
Check out this plunker:
<div class="navbar navbar-inverse">
<div class="container" bs-collapse start-collapsed="true">
<div class="navbar-header">
<button class="navbar-toggle" type="button" bs-collapse-toggle>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div bs-collapse-target>
<ul class="nav navbar-nav">
<li>
<a href="#">Link</a>
</li>
<li>
<a href="#">Link</a>
</li>
</ul>
</div>
</div>
</div>
The bs-collapse
directive works well with Bootstrap navbar
, but it does not natively support collapsing animation.
Is there a way to achieve this using Bootstrap's .collapsing animation feature instead of creating a new solution?