-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom-elements.json
More file actions
75 lines (75 loc) · 2.33 KB
/
custom-elements.json
File metadata and controls
75 lines (75 loc) · 2.33 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
{
"schemaVersion": "2.0.0",
"modules": [
{
"kind": "javascript-module",
"path": "dist/index.js",
"declarations": [
{
"kind": "class",
"name": "ScrollShadowElement",
"cssProperties": [
{
"description": "Sets the maximum size of the scroll indicators",
"name": "--scroll-shadow-size",
"syntax": "<integer>",
"default": "14"
},
{
"description": "Controls the appearance of the top scroll indicator",
"name": "--scroll-shadow-top",
"syntax": "none | <image>",
"default": "radial-gradient(farthest-side at 50% 0%, #0003, #0000)"
},
{
"description": "Controls the appearance of the bottom scroll indicator",
"name": "--scroll-shadow-bottom",
"syntax": "none | <image>",
"default": "radial-gradient(farthest-side at 50% 100%, #0003, #0000)"
},
{
"description": "Controls the appearance of the left scroll indicator",
"name": "--scroll-shadow-left",
"syntax": "none | <image>",
"default": "radial-gradient(farthest-side at 0%, #0003, #0000)"
},
{
"description": "Controls the appearance of the right scroll indicator",
"name": "--scroll-shadow-right",
"syntax": "none | <image>",
"default": "radial-gradient(farthest-side at 100%, #0003, #0000)"
}
],
"superclass": {
"name": "HTMLElement"
},
"tagName": "scroll-shadow",
"customElement": true,
"demos": [
{
"url": "https://ingmarh.github.io/scroll-shadow-element/demo/"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "ScrollShadowElement",
"declaration": {
"name": "ScrollShadowElement",
"module": "dist/index.js"
}
},
{
"kind": "custom-element-definition",
"name": "scroll-shadow",
"declaration": {
"name": "ScrollShadowElement",
"module": "dist/index.js"
}
}
]
}
]
}