Permalink
Browse files

updated readme with some of the new settings

  • Loading branch information...
1 parent d0aeb06 commit f7f93a48a54c7ea3cbb4718649d76bef2808d098 @Johnrae Johnrae committed May 31, 2016
Showing with 5 additions and 4 deletions.
  1. +5 −4 Readme.md
View
@@ -56,10 +56,11 @@ There is very minimal css for the slider, but is necessary for its function. Fee
The plugin accepts one setting, the axis object. You can decide if you want to flip through the images as your mouse moves along the x or y axis of the container. You can pass the options in when you call the plugin like this.
```javascript
-$('#mySpinnyContainer').turntable(
- {'axis': 'y'}
-);
-```
+$('#mySpinnyContainer').turntable({
+ axis: 'x, y, or scroll',
+ reverse: boolean, // true or false, will reverse the array of images
+ scrollStart: 'top, middle, or bottom', // only necessary if axis = 'scroll'
+});```
The plugin will default to x if no option is provided.
###Dependencies

0 comments on commit f7f93a4

Please sign in to comment.