-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcustom-elements.json
More file actions
40 lines (40 loc) · 1.64 KB
/
custom-elements.json
File metadata and controls
40 lines (40 loc) · 1.64 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
{
"version": "experimental",
"tags": [
{
"name": "content-visibility",
"path": "./src/content-visibility.ts",
"description": "content-visibility, a web component leverages CSS content-visibility and the\nIntersection Observer API to provide cross browsers content-visibility solution.",
"attributes": [
{
"name": "containIntrinsicSize",
"description": "CSS contain-intrinsic-size\nhttps://developer.mozilla.org/en-US/docs/Web/CSS/contain-intrinsic-size",
"type": "string",
"default": "\"\""
},
{
"name": "threshold",
"description": "Intersection Observer API option threshold. Since content-visibility only\ntriggers once, thus no use cases will need to provide array of threshold.\nhttps://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API",
"type": "number",
"default": "0"
}
],
"properties": [
{
"name": "containIntrinsicSize",
"attribute": "containIntrinsicSize",
"description": "CSS contain-intrinsic-size\nhttps://developer.mozilla.org/en-US/docs/Web/CSS/contain-intrinsic-size",
"type": "string",
"default": "\"\""
},
{
"name": "threshold",
"attribute": "threshold",
"description": "Intersection Observer API option threshold. Since content-visibility only\ntriggers once, thus no use cases will need to provide array of threshold.\nhttps://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API",
"type": "number",
"default": "0"
}
]
}
]
}