carrossel

1.4.0 • Public • Published

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})

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i carrossel

      Weekly Downloads

      7

      Version

      1.4.0

      License

      MIT

      Unpacked Size

      3.38 kB

      Total Files

      3

      Last publish

      Collaborators

      • maikenegreiros