Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 716 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 716 Bytes

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 providing the tune.