objectivehtml / FlipClock

http://flipclockjs.com/
MIT License
2.74k stars 954 forks source link

Run a function on hour change #400

Open tone4407 opened 4 years ago

tone4407 commented 4 years ago

Hello. Fantastic plugin. It took a lot of the grunt work out of a project I'm working on. I'm using the new es6 branch and I'm curious how I could run a simple function when the hour updates. For example, if the hour changes from 6am to 7am, I would hide one div and show another. Any guidance would be greatly appreciated!