forked from microsoft/vscode-custom-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweb-components.html-data.json
35 lines (35 loc) · 1.15 KB
/
web-components.html-data.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
{
"version": 1.1,
"tags": [
{
"name": "my-component",
"description": "My custom component. Here is its [documentation](https://github.com/microsoft/vscode-custom-data/blob/master/samples/webcomponents/src/components/my-component/docs.md).\nUse it like this:\n```html\n<my-component type='text'></my-component>\n<my-component\n type='color'\n color='#00bb00'\n></my-component>\n```",
"references": [
{
"name": "WebComponents.org",
"url": "https://www.webcomponents.org"
}
],
"attributes": [
{
"name": "type",
"description": "Type of the component. Can be either `text` or `color`.\nIf type is `color`, it needs to have a `color` attribute as well.",
"values": [
{
"name": "text",
"description": "For textual content."
},
{
"name": "color",
"description": "For colorful content."
}
]
},
{
"name": "color",
"description": "Color of the component. Only applies when `type` is `color`."
}
]
}
]
}