Directory

← Back

Simple Timer Addon

Simple Timer for Vaadin 14+

Author

Rating

Popularity

400+

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.
Author Homepage
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))

Online