File tree 2 files changed +5
-1
lines changed 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ Rectangle {
9
9
property color baseColor: Theme .color .neutral1
10
10
property color highlightColor: Theme .color .neutral2
11
11
property int shimmerDuration: 2500
12
+ property bool loading: true
12
13
13
14
radius: 3
14
15
@@ -32,7 +33,7 @@ Rectangle {
32
33
}
33
34
34
35
ParallelAnimation {
35
- running: true
36
+ running: loading
36
37
loops: Animation .Infinite
37
38
NumberAnimation {
38
39
target: stop1
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ Button {
43
43
Skeleton {
44
44
Layout .preferredHeight : 30
45
45
Layout .preferredWidth : 30
46
+ loading: root .loading
46
47
}
47
48
ColumnLayout {
48
49
spacing: 2
@@ -52,11 +53,13 @@ Button {
52
53
Skeleton {
53
54
Layout .preferredHeight : 15
54
55
Layout .preferredWidth : 50
56
+ loading: root .loading
55
57
}
56
58
57
59
Skeleton {
58
60
Layout .preferredHeight : 15
59
61
Layout .preferredWidth : 114
62
+ loading: root .loading
60
63
}
61
64
}
62
65
}
You can’t perform that action at this time.
0 commit comments