tweak spinner delay
This commit is contained in:
parent
f9993cac35
commit
db9913e6b8
|
@ -17,11 +17,14 @@
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
import LoadingSpinner from './LoadingSpinner.html'
|
import LoadingSpinner from './LoadingSpinner.html'
|
||||||
|
|
||||||
|
const SPINNER_DELAY = 700
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
oncreate() {
|
oncreate() {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.set({shown: true})
|
this.set({shown: true})
|
||||||
}, 200)
|
}, SPINNER_DELAY)
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
LoadingSpinner
|
LoadingSpinner
|
||||||
|
|
Loading…
Reference in New Issue