@innofake/inno-random-joke
v1.0.7
Published
Web Component that displays a random joke.
Downloads
7
Readme
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-joke
Example
<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
|