Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 470 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 470 Bytes

Cycle Background Images

cycle

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 want cycleBackground('.container', '/image1.png', '/image2.png', '/image3.png')