javascript - Responsive navbar collapsing animation with AngularStrap -
i'm trying recreate collapsible bootstrap responsive navbar angularstrap.
here 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>
bs-collapse
directive fits bootstrap navbar
quite easily, doesn't support collapsing animation out of box.
how can done?
is there way following bootstrap workflow , utilizing .collapsing animation instead of re-inventing wheel (but simple less/sass mixin makes use of fine)?
to animations working, may need include angular-motion
, angular-motion.min.css
file that's part of angular-motion package. reference css file isn't part of main documentation. i'm pretty sure found references here on stackoverflow when had similar issues.
Comments
Post a Comment