forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLoading.vue
More file actions
35 lines (33 loc) · 674 Bytes
/
Loading.vue
File metadata and controls
35 lines (33 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<template>
<div class="q-loading animate-fade fullscreen column items-center justify-center z-absolute">
<q-spinner :color="spinnerColor" :size="spinnerSize"></q-spinner>
<div
v-if="message"
:class="`text-${messageColor}`"
>{{ message }}</div>
</div>
</template>
<script>
import { QSpinner } from '../spinner'
export default {
name: 'q-loading',
components: {
QSpinner
},
props: {
message: [String, Boolean],
spinnerSize: {
type: Number,
default: 80
},
spinnerColor: {
type: String,
default: 'white'
},
messageColor: {
type: String,
default: 'white'
}
}
}
</script>