-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom-elements.json
117 lines (117 loc) · 3.48 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"version": "experimental",
"tags": [
{
"name": "headers-editor",
"path": "./headers-editor.js",
"attributes": [
{
"name": "value",
"description": "Headers value.",
"type": "string"
},
{
"name": "source",
"description": "When enabled it renders source mode (code mirror editor with headers support)",
"type": "boolean"
},
{
"name": "readOnly",
"description": "When set the editor is in read only mode.",
"type": "boolean"
},
{
"name": "compatibility",
"description": "Enables compatibility with Anypoint components.",
"type": "boolean"
},
{
"name": "outlined",
"description": "Enables Material Design outlined style",
"type": "boolean"
}
],
"properties": [
{
"name": "styles",
"type": "CSSResult"
},
{
"name": "value",
"attribute": "value",
"description": "Headers value.",
"type": "string"
},
{
"name": "model",
"description": "The view model to use to render the values.\nNote, the `model` property is immediately updated when the `value` is set.\nWhen the hosting application uses both values make sure to only set the `model` property.\n\nAlso note, there's no dedicated event for the model change. When value change then\nthe model changed as well.",
"type": "FormItem[]"
},
{
"name": "source",
"attribute": "source",
"description": "When enabled it renders source mode (code mirror editor with headers support)",
"type": "boolean"
},
{
"name": "readOnly",
"attribute": "readOnly",
"description": "When set the editor is in read only mode.",
"type": "boolean"
},
{
"name": "compatibility",
"attribute": "compatibility",
"description": "Enables compatibility with Anypoint components.",
"type": "boolean"
},
{
"name": "outlined",
"attribute": "outlined",
"description": "Enables Material Design outlined style",
"type": "boolean"
},
{
"name": "eventsTarget",
"description": "By default the element listens on the `window` object. If this value is set,\nthen all events listeners will be attached to this object instead of `window`.",
"type": "EventTarget"
}
],
"events": [
{
"name": "change",
"description": "Dispatches when a value change after the user manipulate the editor value."
}
]
},
{
"name": "headers-list",
"path": "./headers-list.js",
"description": "An element that renders a list of headers.",
"attributes": [
{
"name": "headers",
"description": "A HTTP headers to render.",
"type": "string"
}
],
"properties": [
{
"name": "styles",
"type": "CSSResult"
},
{
"name": "headers",
"attribute": "headers",
"description": "A HTTP headers to render.",
"type": "string"
},
{
"name": "hasHeaders",
"description": "Tests whether there's anything to render.",
"type": "boolean"
}
]
}
]
}