https://github.com/jongacnik/preact-mood
🍷 V simple, V moody, V specific x-fade slideshow component
https://github.com/jongacnik/preact-mood
Last synced: about 1 year ago
JSON representation
🍷 V simple, V moody, V specific x-fade slideshow component
- Host: GitHub
- URL: https://github.com/jongacnik/preact-mood
- Owner: jongacnik
- Created: 2017-04-15T05:16:29.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-15T17:06:04.000Z (about 9 years ago)
- Last Synced: 2025-02-12T18:18:55.095Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# preact-mood
V simple, V moody, V specific x-fade slideshow component ([**Demo**](https://preact-mood.glitch.me/))
```
npm i preact-mood
```
## Usage
```js
var Mood = require('preact-mood')
var h = require('preact').h
h(Mood, {
images: [
// urls
],
speed: 4000,
fade: 1500,
shuffle: true
})
```