carrossel
v1.4.0
Published
An agnostic framework carousel very easy to implement
Downloads
5
Maintainers
Readme
Carrossel
Simple usage
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})