node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

preact-mood

preact-mood

V simple, V moody, V specific x-fade slideshow component

npm i preact-mood

Usage

var Mood = require('preact-mood')
var h = require('preact').h
 
h(Mood, {
  images: [
    // urls 
  ],
  speed: 4000,
  fade: 1500,
  shuffle: true
})