start stop buttons on timer

mic_level
Matthew Huntington 3 years ago
parent c1010d77e9
commit d108b9ebb3

@ -13,6 +13,12 @@
console.log(this.seconds);
console.log(this.comments);
console.log(this.practice_category_id);
},
start(event){
console.log('starting');
},
stop(event){
console.log('stopping');
}
},
mounted() {
@ -26,6 +32,8 @@
<template>
<details>
<summary><h2>Timer</h2></summary>
<button @click="start">Start Timer</button>
<button @click="stop">Stop Timer</button>
<form @submit="submit">
<label>Description</label>
<input v-model="description" type="text"/>

Loading…
Cancel
Save