@@ -944,6 +944,14 @@ abstract class HTMLSelectElement extends HTMLElement {
944944 var multiple : Boolean = js.native
945945 var `type` : String = js.native
946946
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+
947955 /**
948956 * Removes the element at the specified index from the options collection for this
949957 * select element.
@@ -1225,6 +1233,15 @@ abstract class HTMLOptionElement extends HTMLElement {
12251233 */
12261234 var selected : Boolean = js.native
12271235
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+
12281245 def create (): HTMLOptionElement = js.native
12291246}
12301247
@@ -1550,6 +1567,13 @@ abstract class HTMLButtonElement extends HTMLElement {
15501567 var name : String = js.native
15511568 var `type` : String = js.native
15521569
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+
15531577 /**
15541578 * A localized message that describes the validation constraints that the control
15551579 * 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 {
23262350 */
23272351 var checked : Boolean = js.native
23282352
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+
23292361 /**
23302362 * Reflects the maxlength HTML attribute, containing the maximum length of text (in
23312363 * Unicode code points) that the value can be changed to. The constraint is evaluated
@@ -3064,6 +3096,14 @@ abstract class HTMLTextAreaElement extends HTMLElement {
30643096 */
30653097 var name : String = js.native
30663098
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+
30673107 /**
30683108 * The index of the beginning of selected text. If no text is selected, contains the
30693109 * index of the character that follows the input cursor. On being set, the control
@@ -3627,6 +3667,14 @@ abstract class HTMLFieldSetElement extends HTMLElement {
36273667 */
36283668 def form : HTMLFormElement = js.native
36293669
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+
36303678 /**
36313679 * A localized message that describes the validation constraints that the element
36323680 * 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 {
38703918 var onloadeddata : js.Function1 [Event , _] = js.native
38713919 var onbeforedeactivate : js.Function1 [UIEvent , _] = js.native
38723920
3873- var disabled : js.UndefOr [Boolean ] = js.native
38743921 var onactivate : js.Function1 [UIEvent , _] = js.native
38753922 var onselectstart : js.Function1 [Event , _] = js.native
38763923 var ontimeupdate : js.Function1 [Event , _] = js.native
@@ -4166,6 +4213,13 @@ abstract class HTMLOptGroupElement extends HTMLElement {
41664213 * MDN
41674214 */
41684215 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
41694223}
41704224
41714225/**
0 commit comments