-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCircleProgressBarWidget.json
More file actions
99 lines (99 loc) · 3.19 KB
/
CircleProgressBarWidget.json
File metadata and controls
99 lines (99 loc) · 3.19 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
{
"id": "com.rohitchouhan.sap.circleprogressbarwidget",
"version": "1.0.0",
"name": "Circle Progress Bar Widget",
"description": "SAC Custom Widget to add beautiful and animated circle progress bar in SAP Analytics Cloud Application",
"newInstancePrefix": "CircleProgressBarWidget",
"vendor": "Rohit Chouhan",
"eula": "",
"license": "MIT",
"icon": "https:\/\/raw.githubusercontent.com\/SAP-Custom-Widget\/CircleProgressBarWidget\/main\/icon.png",
"webcomponents": [
{
"kind": "main",
"tag": "com-rohitchouhan-sap-circleprogressbarwidget",
"url": "https:\/\/cdn.jsdelivr.net\/gh\/SAP-Custom-Widget\/CircleProgressBarWidget@1.0.0\/CircleProgressBarWidget.js",
"integrity": "",
"ignoreIntegrity": true
},
{
"kind": "builder",
"tag": "com-rohitchouhan-sap-circleprogressbarwidget-builder",
"url": "https:\/\/cdn.jsdelivr.net\/gh\/SAP-Custom-Widget\/CircleProgressBarWidget@1.0.0\/CircleProgressBarWidget_Builder.js",
"integrity": "",
"ignoreIntegrity": true
}
],
"properties": {
"percentage": {
"description": "Percentage",
"type": "integer",
"default": 75
},
"barColor": {
"description": "Bar Color",
"type": "string",
"default": "#03ff4f"
},
"emptyBarColor": {
"description": "Empty Bar Color",
"type": "string",
"default": "#ededed"
}
},
"methods": {
"setPercentage": {
"description": "Set Percentage",
"parameters": [
{
"name": "percentage",
"type": "integer",
"description": "Percentage"
}
],
"body": "this.percentage = percentage;"
},
"getPercentage": {
"returnType": "integer",
"description": "Return Percentage",
"body": "return this.percentage;"
},
"setBarColor": {
"description": "Set Bar Color",
"parameters": [
{
"name": "barColor",
"type": "string",
"description": "Bar Color"
}
],
"body": "this.barColor = barColor;"
},
"getBarColor": {
"returnType": "string",
"description": "Return Bar Color",
"body": "return this.barColor;"
},
"setEmptyBarColor": {
"description": "Set Empty Bar Color",
"parameters": [
{
"name": "emptyBarColor",
"type": "string",
"description": "Empty Bar Color"
}
],
"body": "this.emptyBarColor = emptyBarColor;"
},
"getEmptyBarColor": {
"returnType": "string",
"description": "Return Empty Bar Color",
"body": "return this.emptyBarColor;"
}
},
"events": {
"onClick": {
"description": "User Clicked."
}
}
}