0.0.6 • Published 9 years ago

ngkit.dropdown v0.0.6

Weekly downloads
4
License
ISC
Repository
github
Last release
9 years ago

ngKit dropdown

Add dropdown menus like a pro.

<div class="has-dropdown"
     ui-dropdown>
  <button type="button"
          click="dropdown.toggle($event)">
    <span>Show menu</span>
  </button>
  
  <div class="dropdown"
       ng-class="{ active: dropdown.active }">
    <a href="">One</a>
    <a href="">Two</a>
    <a href="">Three</a>
  </div>
  
</div>

Add some trivial styling (you've done this stuff thousand times).

Usage

Add ui-dropdown directive to your Angular module directly:

var app = angular.module('myApp', []);

require('ngkit.dropdown')(app);

Note: ngKit requires Browserify.

License

ISC / Boris Okunskiy

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago