Skip to content

Commit f7f93a4

Browse files
committed
updated readme with some of the new settings
1 parent d0aeb06 commit f7f93a4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Readme.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@ There is very minimal css for the slider, but is necessary for its function. Fee
5656
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.
5757

5858
```javascript
59-
$('#mySpinnyContainer').turntable(
60-
{'axis': 'y'}
61-
);
62-
```
59+
$('#mySpinnyContainer').turntable({
60+
axis: 'x, y, or scroll',
61+
reverse: boolean, // true or false, will reverse the array of images
62+
scrollStart: 'top, middle, or bottom', // only necessary if axis = 'scroll'
63+
});```
6364
The plugin will default to x if no option is provided.
6465
6566
###Dependencies

0 commit comments

Comments
 (0)