Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ganlanyuan committed Dec 11, 2015
1 parent bf4b4dd commit 092eaf4
Show file tree
Hide file tree
Showing 4 changed files with 456 additions and 17 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tiny-slider
Pure javascript slider for all purposes, inspired by [Owl Carousel](http://owlcarousel.owlgraphic.com/). 12K uncompressed, 7K compressed.
Pure tiny javascript slider for all purposes, inspired by [Owl Carousel](http://owlcarousel.owlgraphic.com/). 12K uncompressed, 7K compressed.
[demo](http://creatiointl.org/gallery/william/tiny-slider/)

### Install
Expand All @@ -17,21 +17,18 @@ tinySlider({
### Default setting
```javascript
options = {
container: document.querySelector('.tiny-slider'),
container: document.querySelector('.slider'),
items: 1,
slideByPage: false,
hasNav: true,
navText: ['prev', 'next'],
hasDots: true,
keyboard: false,
loop: true,
speed: 250,
autoplay: false,
autoplayTimeout: 5000,
autoplayDirection: 'forward',
responsive: {
500: 2,
800: 3,
}
loop: true,
responsive: false
}
```
Loading

0 comments on commit 092eaf4

Please sign in to comment.