We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
Is there a way to format the countdown in a only seconds format ? Instead of 2:00 (mm:ss) => 120 (?)
The text was updated successfully, but these errors were encountered:
@Araknos Yes, you can via formatDate , like this: #49 (comment)
formatDate
Sorry, something went wrong.
@cipchk thank you, do you have any demo of formatDate ?
Like this:
config: CountdownConfig = { leftTime: 60 * 3, formatDate: ({ date }) => `${date / 1000}`, };
chore: add demos
a59c5bd
- close #103
Successfully merging a pull request may close this issue.
Hello,
Is there a way to format the countdown in a only seconds format ?
Instead of 2:00 (mm:ss) => 120 (?)
The text was updated successfully, but these errors were encountered: