Add-on Directory

← Back

Simple Timer Addon

Simple Timer for Vaadin 14+

Author

Contributors

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.

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

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

Input Mask Add-on - Vaadin Add-on Directory

Vaadin Flow integration of imaskjs library. Input Mask Add-on - Vaadin Add-on Directory
##### Description Input Mask component integrates [imaskjs library](https://www.npmjs.com/package/imask) to allows to add an input mask to a Vaadin Flow component like TextField or DatePicker. ##### Sponsored development Major pieces of development of this add-on has been sponsored by multiple customers of Vaadin. Read more about Expert on Demand at: [Support](https://vaadin.com/solutions/support) and [Pricing](https://vaadin.com/pricing).
View on GitHub

Input Mask Add-on version 1.0.0
First release of InputMask component compatible with Vaadin 14.

Input Mask Add-on version 2.0.0
First release of InputMask component compatible with Vaadin 23.

Input Mask Add-on version 1.0.1
#### Bug fixes: * Cursor position fix for field with lazy false option

Input Mask Add-on version 1.0.2
#### Bug fixes: * fix cursor behavior on backspace delete with lazy option false

Input Mask Add-on version 2.0.1
Update the version of imask, remove the deprecated usage of lit-element in favor of lit

Input Mask Add-on version 2.0.2
#### Bug fixes: * Fix server value issue

Input Mask Add-on version 2.0.3
#### Bug fixes: Fix regression bug when synchronizing server value

Input Mask Add-on version 2.0.4
#### Bug fixes: * Fix iMask instance value synchronization with server

Input Mask Add-on version 2.1.0
#### New features: * Allow to bind textfield to unmasked value ([#8](https://github.com/vaadin-component-factory/input-mask/issues/8))

Input Mask Add-on version 2.1.1
#### Bug fixes: * fix cursor behavior after insert ([#13](https://github.com/vaadin-component-factory/input-mask/issues/13))

Input Mask Add-on version 2.2.0
* Allow masks into vaadin-text-area components.

Online