Timer that counts down in seconds, minutes, hours, days and years to any date.
The Countdown component relies on the Timezz plugin. Please ensure that you include a link to the Timezz JavaScript file in your document, located at assets/vendor/timezz/dist/timezz.js. You can refer to this page as a guide.
Around added extra layer of data attribute to access the date option of the plugin right from the HTML document:
data-countdown-date='08/13/2023 14:53:00 UTC-08:00'
- UTC offset can be positive (+) or negative (-).
More on UTC offsets by countries read here.
Additional options and events can be passed to pligin init function in src/js/components/countdown.js