Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maikenegreiros/carrossel
An agnostic framework carousel easy to implement
https://github.com/maikenegreiros/carrossel
carousel carousel-js carousel-slider
Last synced: 4 days ago
JSON representation
An agnostic framework carousel easy to implement
- Host: GitHub
- URL: https://github.com/maikenegreiros/carrossel
- Owner: maikenegreiros
- Created: 2018-12-12T19:55:21.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-24T19:19:20.000Z (almost 6 years ago)
- Last Synced: 2024-11-09T12:23:54.070Z (8 days ago)
- Topics: carousel, carousel-js, carousel-slider
- Language: JavaScript
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Carrossel
Simple usage
```js
import carousel from './carrossel'const container = document.querySelector('.carousel')
const elements = document.querySelectorAll('.carousel__item')
const arrowLeft = document.querySelector('.carousel__button-left')
const arrowRight = document.querySelector('.carousel__button-right')carousel({container, elements, arrowLeft, arrowRight})
```