fertwin.blogg.se

Js flipclock
Js flipclock





js flipclock

  • (Refactor) Add new appendDigitToClock to clock method to the FlipClock.Face class that will append the new digits to the DOM.
  • (Bug Fix) Fixed an issue with the Counter face that would prevent the counter from auto-incrementing if the autoStart property was used.
  • (Bug Fix) Fixed some issues with instantiating date objects within the jQuery object.
  • Js flipclock install#

    Manual install Download and copy flipclock-card-bundle.js from the latest release into your config/www directory. HACS This card is available in HACS (Home Assistant Community Store). Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself. Now a date object can be passed to get the time relative to the date instead of always being the current time The flip clock itself is based on the project of Justin Kimbrell. flip.js is an open-source, fully customizable, pretty nice, classic flip clock style countdown & counter component in vanilla JavaScript and CSS. You can apply CSS to your Pen from any stylesheet on the web. (Bug Fix) Changed the way the getTimeSeconds method works.(Bug Fix) The loadClockFace method now resets the clock so if the method is called after instantiation, the entire clock face is re-rendered.(Bug Fix) Fixed the way the loadClockFace and loadLanguage methods worked.(Bug Fix) Added the autoStart property to the FlipClock.Face class declaration.(Bug Fix) Fixed an issue where the clock wouldn't instantiate properly if a date object was passed to it.NPM npm install flipclock -save CDN Specific version pkg. The CDN exposes FlipClock as a global variable. (Bug Fix) Fixed an issue with the Hourl圜ounter and MinuteCounter faces not working properly when new digits are added FlipClock is designed to be used a UMD or ES6 module that can be required and imported.

    js flipclock

    (Feature) Added ability to set the TwelveHourClock and TwentyFourHourClock faces to be able to use a custom date object passed upon instantiation or set after instantiation.







    Js flipclock