-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom-elements.json
82 lines (82 loc) · 2.04 KB
/
custom-elements.json
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
{
"$schema": "https://raw.githubusercontent.com/webcomponents/custom-elements-manifest/refs/heads/main/schema.json",
"schemaVersion": "2.1.0",
"readme": "README.md",
"modules": [
{
"kind": "javascript-module",
"path": "ShareButton.js",
"declarations": [
{
"kind": "class",
"description": "",
"name": "ShareButton",
"members": [
{
"kind": "method",
"name": "register",
"static": true,
"parameters": [
{
"name": "tag",
"default": "'share-button'"
}
]
}
],
"events": [
{
"name": "share",
"summary": "Fired when the share button is clicked",
"type": {
"text": "CustomEvent"
}
},
{
"name": "shareResult",
"summary": "Fired after the share action is complete",
"type": {
"text": "CustomEvent"
}
}
],
"superclass": {
"name": "HTMLElement"
},
"slots": [
{
"name": "",
"summary": "Default slot for supplying a custom share button"
}
],
"cssParts": [
{
"name": "button",
"summary": "Part applied to the default share button for styling"
}
],
"tagName": "share-button",
"customElement": true
}
],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"name": "ShareButton",
"module": "ShareButton.js"
}
},
{
"kind": "custom-element-definition",
"name": "share-button",
"declaration": {
"name": "ShareButton",
"module": "index.js"
}
}
]
}
]
}