background-cycle
v1.0.0
Published
Cycle through background images onpage reload
Downloads
3
Readme
Cycle Background Images
Installation
npm install --save background-cycle
Usage
es6 module imports
import cycleBackground from 'background-cycle'
cycleBackground takes two parameters a selector and an amount of images
You may specify as much images as you wantcycleBackground('.container', '/image1.png', '/image2.png', '/image3.png')