-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGoogleDocs.json
More file actions
65 lines (65 loc) · 2.03 KB
/
GoogleDocs.json
File metadata and controls
65 lines (65 loc) · 2.03 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
{
"id": "com.rohitchouhan.sap.GoogleDocs",
"version": "1.0.1",
"name": "Google Docs",
"description": "A custom widget for viewing various document types including Excel, PowerPoint, PDF, images, and more.",
"newInstancePrefix": "GoogleDocs",
"vendor": "rohitchouhan.com",
"eula": "rohitchouhan.com",
"license": "MIT",
"icon": "https://cdn.jsdelivr.net/gh/SAP-Custom-Widget/GoogleDocs@1.0.1/icon.png",
"webcomponents": [
{
"kind": "main",
"tag": "com-rohitchouhan-sap-google-docs",
"url": "https://cdn.jsdelivr.net/gh/SAP-Custom-Widget/GoogleDocs@1.0.1/dist/GoogleDocs.bundle.js",
"integrity": "sha384-YLJ+AQvEWjGO2nLoDBZUtW21Wvmg8ryti2QHSzbWWO6vbeLQfmX3ZvFQ2SN/SJUB",
"ignoreIntegrity": false
},
{
"kind": "builder",
"tag": "com-rohitchouhan-sap-google-docs-builder",
"url": "https://cdn.jsdelivr.net/gh/SAP-Custom-Widget/GoogleDocs@1.0.1/dist/GoogleDocs.bundle.js",
"integrity": "sha384-YLJ+AQvEWjGO2nLoDBZUtW21Wvmg8ryti2QHSzbWWO6vbeLQfmX3ZvFQ2SN/SJUB",
"ignoreIntegrity": false
}
],
"properties": {
"docsURL": {
"description": "URL of the document to be displayed",
"type": "string",
"default": "https://ontheline.trincoll.edu/images/bookdown/sample-local-pdf.pdf"
},
"embedded": {
"description": "Enable or disable embedded mode",
"type": "boolean",
"default": true
},
"notificationToggle": {
"description": "Enable or disable notifications for new messages",
"type": "boolean",
"default": true
}
},
"methods": {
"setDocumentUrl": {
"description": "Sets the URL of the document to be displayed",
"parameters": [
{
"name": "url",
"type": "string",
"description": "The URL of the document"
}
]
},
"getDocumentUrl": {
"description": "Gets the current document URL",
"returnType": "string"
}
},
"events": {
"onDocumentLoad": {
"description": "Triggered when the document is loaded"
}
}
}