Skip to content

Commit

Permalink
Bower and NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Potts committed Apr 16, 2016
1 parent 50c7575 commit 3fa6ee1
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,32 @@ To use RangeTouch in it's most basic form, you just need to add `rangetouch.js`
<script src="/path/to/rangetouch.js"></script>
```

You can even use our CDN if you'd like:
### CDN
You can even load RangeTouch from our CDN if you'd like:
```html
<script src="https://cdn.rangetouch.com/0.0.1/rangetouch.js"></script>
```

### Node Package Manager (NPM)
[![npm version](https://badge.fury.io/js/rangetouch.svg)](https://badge.fury.io/js/rangetouch)

Using NPM, you can grab RangeTouch:
```
npm install rangetouch
```
[https://www.npmjs.com/package/rangetouch](https://www.npmjs.com/package/rangetouch)

### Bower
[![Bower version](https://badge.fury.io/bo/rangetouch.svg)](https://badge.fury.io/bo/rangetouch)

If bower is your thang, you can grab RangeTouch using:
```
bower install rangetouch
```
[http://bower.io/search/?q=rangetouch](http://bower.io/search/?q=rangetouch)

More info on setting up dependencies can be found in the [Bower Docs](http://bower.io/docs/creating-packages/#maintaining-dependencies)

## Configuration
If you're customizing your range inputs (easily done - see the demo for an example) and you change the size of the thumb handle, you should specify (in pixels) this after including the script:
```javascript
Expand Down

0 comments on commit 3fa6ee1

Please sign in to comment.