forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLoadingBar.json
More file actions
66 lines (59 loc) · 1.39 KB
/
LoadingBar.json
File metadata and controls
66 lines (59 loc) · 1.39 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
{
"meta": {
"docsUrl": "https://v1.quasar.dev/quasar-plugins/loading-bar"
},
"injection": "$q.loadingBar",
"quasarConfOptions": {
"propName": "loadingBar",
"definition": {
"...props": {
"type": "Object",
"desc": "QAjaxBar component props, EXCEPT for 'hijack-filter'",
"__exemption": [ "examples" ]
}
}
},
"props": {
"isActive": {
"type": "Boolean",
"desc": "Is LoadingBar active?",
"reactive": true
}
},
"methods": {
"start": {
"desc": "Notify bar you've started a background activity",
"params": {
"speed": {
"type": "Number",
"desc": "Delay (in milliseconds) between bar progress increments",
"examples": [ 150 ]
}
}
},
"stop": {
"desc": "Notify bar one background activity has finalized"
},
"increment": {
"desc": "Manually trigger a bar progress increment",
"params": {
"amount": {
"type": "Number",
"desc": "Amount (0.0 < x < 1.0) to increment with",
"examples": [ 0.22 ]
}
}
},
"setDefaults": {
"desc": "Set the inner QAjaxBar's props",
"params": {
"...props": {
"type": "Object",
"desc": "QAjaxBar component props",
"required": true,
"__exemption": [ "examples" ]
}
}
}
}
}