Skip to content

HTMLProgressElement

Generated from idl/html.webidl when the site was built at 7aa23e2.

HTMLProgressElement 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.

A SwiftUI ProgressView, linear; indeterminate without a value.

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
<progress> Widely available Full 19 of 19 subtests pass 4
constructor
[HTMLConstructor] constructor();
attribute
attribute double value;
int32_t niso_html_progress_element_get_value(niso_dom* dom, niso_handle self, double* out);
int32_t niso_html_progress_element_set_value(niso_dom* dom, niso_handle self, double value);
attribute
attribute double max;
int32_t niso_html_progress_element_get_max(niso_dom* dom, niso_handle self, double* out);
int32_t niso_html_progress_element_set_max(niso_dom* dom, niso_handle self, double value);
attribute
readonly attribute double position;
int32_t niso_html_progress_element_get_position(niso_dom* dom, niso_handle self, double* out);

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.

  • labels (<progress>)