Skip to content

Commit

Permalink
Add Example Syntax for slickSetOption to Readme
Browse files Browse the repository at this point in the history
Tiny update to the readme. I had to experiment until I sorted out the syntax for the methods that take options. Here's me throwing other noobs like me a bone. :)
willthemoor committed Jan 25, 2016
1 parent 66489de commit 2869dd7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -193,6 +193,12 @@ $(element).slick({
speed: 500
});
```

Change the speed with:

```javascript
$(element).slick('slickSetOption', 'speed', 5000, true);
```

Destroy with:

0 comments on commit 2869dd7

Please sign in to comment.