Directory

← Back

Simple Timer Addon

Simple Timer for Vaadin 14+

Author

Rating

Popularity

300+

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.

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"));

Compatibility

(Loading compatibility data...)

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:

  • Add option to use double digit hours (#32)
  • Improve addCurrentTimeChangeListener method documentation (#26)
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+ Simple Timer Addon - Vaadin Add-on Directory
This component is based on based on this [web component](https://github.com/annsonn/simple-timer), 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.
Online