1.0.1 • Published 9 years ago
ng-knob v1.0.1
ngKnob
A simple directive that simulates a real-world volume knob. This was built as an example at Fullstack Academy.
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.