0👍
I’ve finally figured it out. For anyone wanting to know the answer:
<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
data() {
return {
loading: false,
};
},
methods: {
start(): void {
this.loading = true;
},
finish(): void {
this.loading = false;
},
},
});
</script>
- [Vuejs]-Select row in q-table with button using Vue.js
- [Vuejs]-VueJS Application should call PHP backend on port 80 when using AJAX in a Docker application
Source:stackexchange.com