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

Latest commit

 

History

History
24 lines (20 loc) · 496 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 496 Bytes

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