Created
June 14, 2022 17:54
-
-
Save ilyasakin/7358a0bf56710f8f618a34c079b97a92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
... | |
<Spinner :status="isLoading" /> | |
... | |
</template> | |
<script setup lang="ts"> | |
const isLoading = ref<boolean>(false); | |
const onClickSave = () => { | |
isLoading.value = true; | |
// ... | |
isLoading.value = false; | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment