Simple Timer Addon
Simple Timer for Vaadin 14+
This component is based on based on this web component, and allows you to define a timer that will produce events reported back to the server, offering a simple API to control it from your Vaadin Flow application.
Found a bug or have a suggestion? Report it on GitHub
For bug reports, feature suggestions, or questions, please open an issue on GitHub. This makes it easier for us to track and respond efficiently, ensuring you get the best possible support. Your input helps us improve—thank you!
Sample code
SimpleTimer timer = new SimpleTimer(new BigDecimal("30")); timer.start(); timer.pause(); timer.reset(); timer.setCountUp(true); timer.isRunning();
timer.addTimerEndEvent(ev-> Notification.show("Timer ended"));
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
New features:
- Released
- 2024-05-06
- Maturity
- TESTED
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 14+
- Vaadin 13 in 1.0.0
- Vaadin 12 in 1.0.0
- Vaadin 11 in 1.0.0
- Vaadin 10 in 1.0.0
- Browser
- Firefox
- Safari
- Google Chrome
- Android Browser
- Microsoft Edge
Simple Timer Addon - Vaadin Add-on Directory
Simple Timer for Vaadin 14+View on GitHub
Source Code
Issue tracker
Online Demo
Simple Timer Addon version 1.0.0
Initial release
Simple Timer Addon version 2.0.0
First release supporting Vaadin 14+ NPM mode
Simple Timer Addon version 2.0.1
Added support for specifying the format for the remaining time
Simple Timer Addon version 2.1.0
Support for configuring how often the current-time-changed event is fired and add asynchronous getter
Simple Timer Addon version 2.1.1
Release notes:
- Implement Serializable
Simple Timer Addon version 2.2.0
#### New features:
* Add option to use double digit hours ([#32](https://github.com/FlowingCode/SimpleTimerAddon/issues/32))
* Improve addCurrentTimeChangeListener method documentation ([#26](https://github.com/FlowingCode/SimpleTimerAddon/issues/26))