@innofake/inno-random-joke
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

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

Package Sidebar

Install

npm i @innofake/inno-random-joke

Weekly Downloads

1

Version

1.0.7

License

ISC

Unpacked Size

15.3 kB

Total Files

12

Last publish

Collaborators

  • chromaticwaster
  • b0tlanner
  • stefan505