1.0.6 • Published 2 years ago

@whitewizard/countdown v1.0.6

Weekly downloads
33
License
ISC
Repository
-
Last release
2 years ago

Countdown Vue component

Usage:

  • import Countdown from @whitewizard/countdown
  • Implements an unnamed slot to display something inside component.
  • Root element gets 'countdown-ended' class when countdown end is reached.
  • Emits 'countDownEnd' event with root HTML element as event.el
    • Event usage: <Countdown @countDownEnd="myHandler" />

Props:

  • format {String}. String representing units to display, separated by colons. Default: hours:minutes:seconds
  • separators {String}. Text to show between countdown data elements, separated by colons. Default: h:m:s
  • end {String} RFC 3339 datetime string. Represents countdown end time. Required. (RFC 3339)
1.0.6

2 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago