@@ -944,6 +944,14 @@ abstract class HTMLSelectElement extends HTMLElement {
944
944
var multiple : Boolean = js.native
945
945
var `type` : String = js.native
946
946
947
+ /**
948
+ * Reflects the disabled HTML attribute, which indicates whether the control is
949
+ * disabled. If it is disabled, it does not accept clicks.
950
+ *
951
+ * MDN
952
+ */
953
+ var disabled : Boolean = js.native
954
+
947
955
/**
948
956
* Removes the element at the specified index from the options collection for this
949
957
* select element.
@@ -1225,6 +1233,15 @@ abstract class HTMLOptionElement extends HTMLElement {
1225
1233
*/
1226
1234
var selected : Boolean = js.native
1227
1235
1236
+ /**
1237
+ * Reflects the value of the disabled HTML attribute, which indicates that the option
1238
+ * is unavailable to be selected. An option can also be disabled if it is a child of
1239
+ * an <optgroup> element that is disabled.
1240
+ *
1241
+ * MDN
1242
+ */
1243
+ var disabled : Boolean = js.native
1244
+
1228
1245
def create (): HTMLOptionElement = js.native
1229
1246
}
1230
1247
@@ -1550,6 +1567,13 @@ abstract class HTMLButtonElement extends HTMLElement {
1550
1567
var name : String = js.native
1551
1568
var `type` : String = js.native
1552
1569
1570
+ /**
1571
+ * The control is disabled, meaning that it does not accept any clicks.
1572
+ *
1573
+ * MDN
1574
+ */
1575
+ var disabled : Boolean = js.native
1576
+
1553
1577
/**
1554
1578
* A localized message that describes the validation constraints that the control
1555
1579
* does not satisfy (if any). This attribute is the empty string if the control is not a
@@ -2326,6 +2350,14 @@ abstract class HTMLInputElement extends HTMLElement {
2326
2350
*/
2327
2351
var checked : Boolean = js.native
2328
2352
2353
+ /**
2354
+ * Reflects the disabled HTML attribute, indicating that the control is not available
2355
+ * for interaction. The input values will not be submitted with the form.
2356
+ *
2357
+ * MDN
2358
+ */
2359
+ var disabled : Boolean = js.native
2360
+
2329
2361
/**
2330
2362
* Reflects the maxlength HTML attribute, containing the maximum length of text (in
2331
2363
* Unicode code points) that the value can be changed to. The constraint is evaluated
@@ -3064,6 +3096,14 @@ abstract class HTMLTextAreaElement extends HTMLElement {
3064
3096
*/
3065
3097
var name : String = js.native
3066
3098
3099
+ /**
3100
+ * Reflects the disabled HTML attribute, indicating that the control is not available
3101
+ * for interaction.
3102
+ *
3103
+ * MDN
3104
+ */
3105
+ var disabled : Boolean = js.native
3106
+
3067
3107
/**
3068
3108
* The index of the beginning of selected text. If no text is selected, contains the
3069
3109
* index of the character that follows the input cursor. On being set, the control
@@ -3627,6 +3667,14 @@ abstract class HTMLFieldSetElement extends HTMLElement {
3627
3667
*/
3628
3668
def form : HTMLFormElement = js.native
3629
3669
3670
+ /**
3671
+ * Reflects the disabled HTML attribute, indicating whether the user can interact with
3672
+ * the control.
3673
+ *
3674
+ * MDN
3675
+ */
3676
+ var disabled : Boolean = js.native
3677
+
3630
3678
/**
3631
3679
* A localized message that describes the validation constraints that the element
3632
3680
* does not satisfy (if any). This is the empty string if the element is not a candidate
@@ -3870,7 +3918,6 @@ abstract class HTMLElement extends Element {
3870
3918
var onloadeddata : js.Function1 [Event , _] = js.native
3871
3919
var onbeforedeactivate : js.Function1 [UIEvent , _] = js.native
3872
3920
3873
- var disabled : js.UndefOr [Boolean ] = js.native
3874
3921
var onactivate : js.Function1 [UIEvent , _] = js.native
3875
3922
var onselectstart : js.Function1 [Event , _] = js.native
3876
3923
var ontimeupdate : js.Function1 [Event , _] = js.native
@@ -4166,6 +4213,13 @@ abstract class HTMLOptGroupElement extends HTMLElement {
4166
4213
* MDN
4167
4214
*/
4168
4215
var label : String = js.native
4216
+
4217
+ /**
4218
+ * If true, the whole list of children <option> is disabled
4219
+ *
4220
+ * MDN
4221
+ */
4222
+ var disabled : Boolean = js.native
4169
4223
}
4170
4224
4171
4225
/**
0 commit comments