{{ countDown.toString() }}
-+
- +
{{ countDown.toString() }}
-+
@@ -26,17 +26,15 @@ export default { name: "Timer", props: { time: Number, - countDown: { - type: Number, - default: -2 - }, - warning: { - type: Boolean, - default: true, - }, + }, + data: function() { + return { + countDown: -2, + warning: true, + } }, mounted: function() { - }, + }, methods: { timeleft: function(){ this.countDown--; @@ -96,6 +94,13 @@ export default { font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; } + .timerBtn-inner { + display: inline-block; + height: 2rem; + width: 2rem; + background-color: #2c3e50; + } + .reverse { transform: scale(-1, -1); }