-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglobal_attributes.json
170 lines (170 loc) · 6.62 KB
/
global_attributes.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
[
{
"name": "accesskey",
"description": "Provides a hint for generating a keyboard shortcut for the current element",
"field_name": "access_key",
"ty": "String"
},
{
"name": "autocapitalize",
"description": "Controls whether and how text input is automatically capitalized as it is entered/edited by the user",
"field_name": "auto_capitalize",
"ty": "String"
},
{
"name": "autofocus",
"description": "Indicates that an element should be focused on page load, or when the <dialog> that it is part of is displayed",
"field_name": "autofocus",
"ty": "Bool"
},
{
"name": "class",
"description": "A space-separated list of the case-sensitive classes of the element",
"field_name": "class_",
"ty": "String"
},
{
"name": "contenteditable",
"description": "Indicates if the element should be editable by the user",
"field_name": "content_editable",
"ty": "String"
},
{
"name": "dir",
"description": "Indicates the directionality of the element's text",
"field_name": "direction",
"ty": "String"
},
{
"name": "draggable",
"description": "Indicates whether the element can be dragged, either with native browser behavior or the HTML Drag and Drop API.",
"field_name": "draggable",
"ty": "Bool"
},
{
"name": "enterkeyhint",
"description": "Defines what action label (or icon) to present for the enter key on virtual keyboards",
"field_name": "enter_key_hint",
"ty": "String"
},
{
"name": "exportparts",
"description": "The exportparts global attribute allows you to select and style elements existing in nested shadow trees, by exporting their part names",
"field_name": "export_parts",
"ty": "String"
},
{
"name": "hidden",
"description": "Indicates that the browser should not render the contents of the element",
"field_name": "hidden",
"ty": "String"
},
{
"name": "id",
"description": "Defines an identifier (ID) which must be unique in the whole document",
"field_name": "id",
"ty": "String"
},
{
"name": "inert",
"description": "indicating that the browser will ignore the element",
"field_name": "inert",
"ty": "Bool"
},
{
"name": "inputmode",
"description": "hints at the type of data that might be entered by the user while editing the element or its contents",
"field_name": "input_mode",
"ty": "String"
},
{
"name": "is",
"description": "allows you to specify that a standard HTML element should behave like a defined custom built-in element",
"field_name": "is_",
"ty": "String"
},
{
"name": "itemid",
"description": "The itemid global attribute provides microdata in the form of a unique, global identifier of an item",
"field_name": "item_id",
"ty": "String"
},
{
"name": "itemprop",
"description": "The itemprop global attribute is used to add properties to an item",
"field_name": "item_prop",
"ty": "String"
},
{
"name": "itemref",
"description": "Properties that are not descendants of an element with the itemscope attribute can be associated with an item using the global attribute itemref",
"field_name": "item_ref",
"ty": "String"
},
{
"name": "itemscope",
"description": "itemscope is a boolean global attribute that defines the scope of associated metadata",
"field_name": "item_scope",
"ty": "String"
},
{
"name": "itemtype",
"description": "The global attribute itemtype specifies the URL of the vocabulary that will be used to define itemprop's (item properties) in the data structure",
"field_name": "item_type",
"ty": "String"
},
{
"name": "lang",
"description": "The lang global attribute helps define the language of an element: the language that non-editable elements are written in, or the language that the editable elements should be written in by the user",
"field_name": "lang",
"ty": "String"
},
{
"name": "nonce",
"description": "The nonce global attribute is a content attribute defining a cryptographic nonce (\"number used once\") which can be used by Content Security Policy to determine whether or not a given fetch will be allowed to proceed for a given element",
"field_name": "nonce",
"ty": "String"
},
{
"name": "part",
"description": "The part global attribute contains a space-separated list of the part names of the element",
"field_name": "part",
"ty": "String"
},
{
"name": "slot",
"description": "The slot global attribute assigns a slot in a shadow DOM shadow tree to an element: An element with a slot attribute is assigned to the slot created by the <slot> element whose name attribute's value matches that slot attribute's value",
"field_name": "slot",
"ty": "String"
},
{
"name": "spellcheck",
"description": "The spellcheck global attribute is an enumerated attribute that defines whether the element may be checked for spelling errors",
"field_name": "spellcheck",
"ty": "String"
},
{
"name": "style",
"description": "The style global attribute contains CSS styling declarations to be applied to the element",
"field_name": "style",
"ty": "String"
},
{
"name": "tabindex",
"description": "The tabindex global attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation",
"field_name": "tab_index",
"ty": "Integer"
},
{
"name": "title",
"description": "The title global attribute contains text representing advisory information related to the element it belongs to",
"field_name": "title",
"ty": "String"
},
{
"name": "translate",
"description": "The translate global attribute is an enumerated attribute that is used to specify whether an element's translatable attribute values and its Text node children should be translated when the page is localized, or whether to leave them unchanged",
"field_name": "translate",
"ty": "Bool"
}
]