Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

erf/imageflip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imageflip

A minimal javascript slideshow library.

Install

  • npm: npm install imageflip
  • Bower: bower install imageflip

Usage

<!doctype HTML>
<img id='slideshow' />
<script src="../index.js"></script>
<script>
const el = document.getElementById('slideshow')
const urls = [ 'image0.png', 'image1.png', 'image2.png' ]
const time = 1000
imageflip(el, urls, time).start()
</script>

Test