1.0.7 • Published 3 years ago
@innofake/inno-random-joke v1.0.7
inno-random-joke
Web Component that displays a random joke with ability to update the joke using a configurable interval.
Install
npm i @innofake/inno-random-jokeExample
<inno-random-joke interval="5"></inno-random-joke>Properties
| Property | Attribute | Modifiers | Type | Default | Description | 
|---|---|---|---|---|---|
| interval | interval | Number | 0 | Refresh interval in seconds | 
CSS Props
| Property | 
|---|
| --inno-random-joke-font-family | 
| --inno-random-joke-font-size | 
| --inno-random-joke-font-weight | 
| --inno-random-joke-text-align |