A vanilla Custom Element implementation of the original one made with Polymer
//TODO
You can find a demo here.
Attribute | Description | default |
---|---|---|
auto | {Boolean} Auto start the timer and/or the countdown | false |
displayMode | {String} Set the flip clock mode. Possible values are 'timer' and 'countdown'. A clock will be displayed if no value is specified | null |
hideHours | {Boolean} Hide the hour digits in the counter, timer and countdown | false |
hideSeconds | {Boolean} Hide the seconds digits in the counter, timer and countdown | false |
showButtons | {Boolean} Show the command buttons to start, stop and reset a timer or a countdown | false |
startFrom | {String} Starting minutes for the countdown | null |
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT