Hi, 

I am using AngularStrap and I am trying to create a responsive navbar. 

I am following this example: 

https://jsfiddle.net/beedaan/9ptbz8hm/


<nav class="navbar navbar-fixed-top" bs-collapse 
  data-start-collapsed='true'>
  <div class="container">
    <div class="navbar-header">
      <button class="navbar-toggle" bs-collapse-toggle>
        Click To Toggle Collapse
      </button>
    </div>
    <div class="navbar-collapse" bs-collapse-target>
      <ul class="nav navbar-nav">
        <li>First List Item</li>
        <li>Second List Item</li>
        <li>Third List Item</li>
      </ul>
    </div>
  </div>
</nav>

 How could I collapse the bs-collapse element when its content is clicked ? 

(So the user clicks in any <li> element)


Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to