ng-knob
v1.0.1
Published
A simple directive that simulates a real-world *volume knob*. This was built as an example at [Fullstack Academy](http://www.fullstackacademy.com/).
Downloads
118
Readme
ngKnob
A simple directive that simulates a real-world volume knob. This was built as an example at Fullstack Academy.
Running the example
Use python -m HTTPSimpleServer
or npm install -g http-server && http-server
to run the example code.
Using it in your application
npm install ng-knob
.
Include dist/ngKnob.js
in your application as a <script>
and as well as link the dist/ngKnob.css
stylesheet. Merge your application with ngKnob (angular.module('YourApp', ['ngKnob'])
) and use the <ng-knob>
directive as seen in the example.
Thanks
1504 for learning well and Thom Yorke for provided the tune.