Directory

← Back

Simple Timer Addon

Simple Timer for Vaadin 14+

Author

Contributors

Rating

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

Links

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

Release notes: - Implement Serializable

Released
2021-04-08
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
Online