Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
simeydotme committed Mar 11, 2013
1 parent b0393a7 commit d81a499
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,33 @@ $('.element').slider('pips', {
first: 'number',
last: 'number',
rest: 'pip'
});
```
});

The method takes the options: `first, last, rest` with the value of:
- `"pip"` - adds a pip. (default)
- `"number"` - adds a pip and a number. (default)
- `false` - hides the number and pip. (default)
// And finally can add floaty numbers (if desired)
$('.element').slider('float', {
handle: true,
numbers: true
});
```

#####Pips method takes the options: `first, last, rest` with the values of:
- `"pip"` - adds a pip. (default for `rest`)
- `"number"` - adds a pip and a number. (default for`first` & `last`)
- `false` - hides the number and pip.

#####Float method takes the options: `handle, numbers` with the values of:
- `true` - adds floaty number. (default)
- `false` - no floaty number.


------------------------------------

###Customisation:
All customisation should be done to the CSS file, or in your own CSS.
The base styles I've provided do a decent job in the Demo,
but they will need tweaking to suit your needs and UI theme.

------------------------------------

###Compatibility:
Expand Down

0 comments on commit d81a499

Please sign in to comment.