time-ticker

0.0.28 • Public • Published

Published on webcomponents.org

time-ticker

time-ticker is a non-visible custom element that fires an event periodically.

Uses this library, explained here.

<time-ticker loop repeat="10" duration="200"></time-ticker>

Example 1. Based off Text Scramble

Demo

time-ticker uses JSON modules, which seem to be wending their way, ever so slowly, into Firefox and Safari.

In the meantime, use the polyfill to accommodate non chromium browsers:

    <script type="esms-options">{ "polyfillEnable": ["json-modules"] }</script>
    <script async src="https://ga.jspm.io/npm:es-module-shims@1.4.6/dist/es-module-shims.js"></script>

Readme

Keywords

none

Package Sidebar

Install

npm i time-ticker

Weekly Downloads

31

Version

0.0.28

License

MIT

Unpacked Size

43.9 kB

Total Files

27

Last publish

Collaborators

  • bahrus