https://github.com/doodlewind/easyloop
An easy yet powerful jQuery loop slider
https://github.com/doodlewind/easyloop
Last synced: 12 months ago
JSON representation
An easy yet powerful jQuery loop slider
- Host: GitHub
- URL: https://github.com/doodlewind/easyloop
- Owner: doodlewind
- Created: 2016-09-19T03:10:03.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-19T03:10:11.000Z (almost 10 years ago)
- Last Synced: 2025-05-14T09:13:20.294Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://static.ewind.us/easyLoop
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# easyLoop
An easy yet powerful jQuery loop slider.
easyLoop supports horizontal and vertical scrolling, with adequate args to modify its behaviour.
## Examples
See [examples](http://static.ewind.us/easyLoop)
## Options
* `itemWidth`: `number`, width of the loop item in `px`, required
* `itemWidth`: `number`, width of the loop item in `px`, required
* `axis`: `"x"` or `"y"`, direction to loop
* `numPerScreen`: `number`, number of items to show on screen
* `duration`: `number`, animation duration
* `autoPlay`: `boolean`, enable auto play or not
* `autoPlayInterval`: `number`, interval of auto play
* `autoPlayDirection`: `1` or `-1`, direction of auto play
* `center`: `boolean`, center loop div or not
* `triggerClass`: `string`, class for prev and next button
* `triggerPrevClass`: `string`, class for prev button
* `triggerNextClass`: `string`, class for next button
* `debug`: `boolean`, use debug mode or not
## License
MIT