Skip to content

This is a simple utility that will cycle your background images on every page reload

Notifications You must be signed in to change notification settings

jahil-khalfe/background-image-cycle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

About

This is a simple utility that will cycle your background images on every page reload

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published