You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey I had trouble with this also. Just figured out a solution. I used underscore forEach, but you can iterate however you want. It basically checks the face values to see if they are all 0's. If they are, I manually stop the timer.
"flipclock": "^0.10.8",
import React from 'react'
import './compiled/flipclock.css'
import FlipClock from 'flipclock'
const el = document.getElementById('myClock')
const nowSeconds = new Date().getTime() / 1000;
const end = new Date((nowSeconds + this.state.countDownTime) * 1000)
this.clock = new FlipClock(el, end, {
face: 'DayCounter',
countdown: true,
autoStart: true,
callbacks: {
stop: function() {
this.props.getDownloadList(this.state.ID)
}
}
});
To zero but continues to operate as a negative value
Is it because I configured it?
thank you
The text was updated successfully, but these errors were encountered: