HTMLButtonElement
Generated from idl/html.webidl when the site was built at 7aa23e2.
HTMLButtonElement is an interface in idl/html.webidl, inheriting HTMLElement, exposed in Window. What it does is on MDN; this page says what niso has of it.
Status
Section titled “Status”The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).
| Feature | On the web | In niso | Members |
|---|---|---|---|
| <button> | Widely available | Partial 58% 188 of 319 subtests pass | 6 |
Members
Section titled “Members”constructor
Section titled “constructor”[HTMLConstructor] constructor();readonly attribute HTMLFormElement? form;int32_t niso_html_button_element_get_form(niso_dom* dom, niso_handle self, niso_handle* out);attribute DOMString type;int32_t niso_html_button_element_get_type(niso_dom* dom, niso_handle self, niso_str* out);int32_t niso_html_button_element_set_type(niso_dom* dom, niso_handle self, const char* value, size_t value_len);attribute DOMString name;int32_t niso_html_button_element_get_name(niso_dom* dom, niso_handle self, niso_str* out);int32_t niso_html_button_element_set_name(niso_dom* dom, niso_handle self, const char* value, size_t value_len);attribute DOMString value;int32_t niso_html_button_element_get_value(niso_dom* dom, niso_handle self, niso_str* out);int32_t niso_html_button_element_set_value(niso_dom* dom, niso_handle self, const char* value, size_t value_len);disabled
Section titled “disabled”attribute boolean disabled;int32_t niso_html_button_element_get_disabled(niso_dom* dom, niso_handle self, bool* out);int32_t niso_html_button_element_set_disabled(niso_dom* dom, niso_handle self, bool value);Not in niso yet
Section titled “Not in niso yet”Members the web has, by the BCD keys web-features 3.45.0 lists, that idl/ doesn’t declare. The list is partial: web-features lists only the keys it maps to a feature.
checkValidity(Constraint validation API)command(Invoker commands)commandForElement(Invoker commands)formAction(<button>)formEnctype(<button>)formMethod(<button>)formNoValidate(<button>)formTarget(<button>)interestForElement(Interest invokers)labels(<button>)popoverTargetAction(Popover)popoverTargetElement(Popover)reportValidity(Constraint validation API)setCustomValidity(Constraint validation API)validationMessage(Constraint validation API)validity(Constraint validation API)willValidate(Constraint validation API)