diff --git a/src/App.vue b/src/App.vue index 83c815c..1f3c234 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,7 +2,7 @@
Wake lock not available
{{ countDown.toString() }}
@@ -35,9 +36,10 @@ export default { wakeLock: null, } }, - mounted: function() { - }, methods: { + resetTime: function() { + this.$emit('set-time', 0); + }, timeleft: function(){ this.countDown--; if(this.countDown == 0) { @@ -115,6 +117,13 @@ export default { transform: scale(-1, -1); } + .end { + display: block; + position: absolute; + right: 1px; + top: 1px; + font-size: 32px; + } } \ No newline at end of file