https://github.com/borsch/carousel
https://github.com/borsch/carousel
carousel-page gallery javascript landing-page
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/borsch/carousel
- Owner: borsch
- Created: 2016-05-24T06:04:52.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-01-12T11:40:58.000Z (over 6 years ago)
- Last Synced: 2025-01-23T18:14:47.916Z (over 1 year ago)
- Topics: carousel-page, gallery, javascript, landing-page
- Language: JavaScript
- Homepage: https://borsch.github.io/carousel
- Size: 1.69 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
carousel
This is a simple util to make you langing pages more beautiful.
Usage sample:
CarouselInit(selector, {
directions: [
'left',
'down',
'right',
'down'
],
easing: Math.sin,
circle: true,
time: 500
});
// selector - your html block element
// direction[optional] - array with directions for animation(by default will produced array with 'down' options)
// easing[optional] - function that return value in [0, 1] interval
// tile[optional] - time for animation(change slides)
// circle[option] - allow to move slides in circle(default is false)
Change Log:
-
version 1.1.0 (18.02.17)
- allow to move slides in circle
-
version 1.0.0 (13.02.17)
- add main functionality