forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQSpinnerAudio.js
More file actions
107 lines (103 loc) · 2.53 KB
/
QSpinnerAudio.js
File metadata and controls
107 lines (103 loc) · 2.53 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
import Vue from 'vue'
import mixin from './spinner-mixin.js'
export default Vue.extend({
name: 'QSpinnerAudio',
mixins: [mixin],
render (h) {
return h('svg', {
staticClass: 'q-spinner',
class: this.classes,
on: { ...this.qListeners },
attrs: {
focusable: 'false' /* needed for IE11 */,
'fill': 'currentColor',
'width': this.cSize,
'height': this.cSize,
'viewBox': '0 0 55 80',
'xmlns': 'http://www.w3.org/2000/svg'
}
}, [
h('g', {
attrs: {
'transform': 'matrix(1 0 0 -1 0 80)'
}
}, [
h('rect', {
attrs: {
'width': '10',
'height': '20',
'rx': '3'
}
}, [
h('animate', {
attrs: {
'attributeName': 'height',
'begin': '0s',
'dur': '4.3s',
'values': '20;45;57;80;64;32;66;45;64;23;66;13;64;56;34;34;2;23;76;79;20',
'calcMode': 'linear',
'repeatCount': 'indefinite'
}
})
]),
h('rect', {
attrs: {
'x': '15',
'width': '10',
'height': '80',
'rx': '3'
}
}, [
h('animate', {
attrs: {
'attributeName': 'height',
'begin': '0s',
'dur': '2s',
'values': '80;55;33;5;75;23;73;33;12;14;60;80',
'calcMode': 'linear',
'repeatCount': 'indefinite'
}
})
]),
h('rect', {
attrs: {
'x': '30',
'width': '10',
'height': '50',
'rx': '3'
}
}, [
h('animate', {
attrs: {
'attributeName': 'height',
'begin': '0s',
'dur': '1.4s',
'values': '50;34;78;23;56;23;34;76;80;54;21;50',
'calcMode': 'linear',
'repeatCount': 'indefinite'
}
})
]),
h('rect', {
attrs: {
'x': '45',
'width': '10',
'height': '30',
'rx': '3'
}
}, [
h('animate', {
attrs: {
'attributeName': 'height',
'begin': '0s',
'dur': '2s',
'values': '30;45;13;80;56;72;45;76;34;23;67;30',
'calcMode': 'linear',
'repeatCount': 'indefinite'
}
})
])
])
])
}
})