Directory

scary-stopwatch - Vaadin Add-on Directory

A simple stopwatch webcomponent scary-stopwatch - Vaadin Add-on Directory
# \ A simple stopwatch web-component. Most styling can happen directly on the element. There's a custom property for the font-size of the milliseconds. ``` scary-stopwatch { font-size: 16px; --font-size-ms: 60%; } ``` Supported methods of the element are: `.start(resume)` - Starts the stopwatch. If `resume` is true the time will continue from when it was last stopped. Otherwise it will start from 00:00 `.stop()` - Stops the stopwatch. `.reset()` - Resets the time to 00:00. The current time (in ms) can be read from the `.time` property.
View on NPM
View on GitHub

scary-stopwatch version 1.0.0
### Dependencies * @polymer/lit-element#^0.5.2

scary-stopwatch version 1.1.0-dev.1
### Dependencies * @polymer/lit-element#^0.6.0-dev.5

scary-stopwatch version 1.0.1
### Dependencies * @polymer/lit-element#^0.5.2

scary-stopwatch version 1.1.0-dev.2
### Dependencies * @polymer/lit-element#^0.6.0-dev.6

scary-stopwatch version 1.1.0-dev.3
### Dependencies * @polymer/lit-element#^0.6.0-dev.6

scary-stopwatch version 1.1.0-dev.4
### Dependencies * @polymer/lit-element#^0.6.0-dev.6

scary-stopwatch version 1.1.0
### Dependencies * @polymer/lit-element#^0.6.0