dile-countdown-time

1.0.2 • Public • Published

dile-countdown-time

Web component that shows a countdown to a date based on LitElement

Go to DEMOS page!

<dile-countdown-time dateString="31-12-2020 10:00" language="es"></dile-countdown-time>

dateString

The dateString property works with the date in "DD-MM-YYYY HH:mm" format

Languages available

The language property accepts the languages listed bellow:

  • en (default)
  • es

Shapes available

The shape property accepts the shapes listed bellow:

  • square (default)
  • circle

Styling

The following custom properties and mixins are available for styling:

Custom property Description Default
--dile-countdown-time-shape-color shape color #212121
--dile-countdown-time-number-color number color #f5f5f5
--dile-countdown-time-word-color word color #212121

Package Sidebar

Install

npm i dile-countdown-time

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

13.5 kB

Total Files

11

Last publish

Collaborators

  • iscipar