Table of Contents

Class HTMLMeterElement

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
[Value("HTMLMeterElement")]
public class HTMLMeterElement : HTMLElement
Inheritance
HTMLMeterElement
Inherited Members

Remarks

-The HTML element implementing this interface: meter

See also on MDN

Constructors

HTMLMeterElement()

public HTMLMeterElement()

Properties

High

The high property of the HTMLMeterElement interface represents the high boundary of the {{htmlelement("meter")}} element as a floating-point number. It reflects the element's high attribute, or the value of max if not defined. The value of high is clamped by the low and max values.

[Value("high")]
public Number High { get; set; }

Property Value

Number

A number that is not less than Low nor greater than Max.

Remarks

This property can also be set directly, for example to set a default value based on some condition.

-meter
-Value
-Max
-Low
-HTMLProgressElement

See also on MDN

Labels

The HTMLMeterElement.labels read-only property returns a
NodeList of the {{HTMLElement("label")}} elements associated with the
meter element.

[Value("labels")]
public NodeList Labels { get; }

Property Value

NodeList

A NodeList containing the <label> elements associated
with the <meter> element.

Remarks

Low

The low property of the HTMLMeterElement interface represents the low boundary of the {{htmlelement("meter")}} element as a floating-point number. It reflects the element's low attribute, or the value of min if not defined. The value of low is clamped by the min and max values.

[Value("low")]
public Number Low { get; set; }

Property Value

Number

A number that is not less than Min nor greater than Max.

Remarks

This property can also be set directly, for example to set a default value based on some condition.

-meter
-Value
-Min
-High
-HTMLProgressElement

See also on MDN

Max

The max property of the HTMLMeterElement interface represents the maximum value of the {{htmlelement("meter")}} element as a floating-point number. It reflects the element's max attribute, or the min value if no max is set, or 1 if neither the min or the max is defined.

[Value("max")]
public Number Max { get; set; }

Property Value

Number

A number.

Remarks

This property can also be set directly, for example to set a default value based on some condition.

-meter
-Value
-Min
-HTMLProgressElement

See also on MDN

Min

The min property of the HTMLMeterElement interface represents the minimum value of the {{htmlelement("meter")}} element as a floating-point number. It reflects the element's min attribute, or 0 if no min is defined.

[Value("min")]
public Number Min { get; set; }

Property Value

Number

A number.

Remarks

This property can also be set directly, for example to set a default value based on some condition.

-meter
-Value
-Max
-HTMLProgressElement

See also on MDN

Optimum

The optimum property of the HTMLMeterElement interface represents the optimum boundary of the {{htmlelement("meter")}} element as a floating-point number. It reflects the element's optimum attribute, or the midpoint between min and max values if not defined. The value of optimum is clamped by the min and max values.

[Value("optimum")]
public Number Optimum { get; set; }

Property Value

Number

A number. Defaults to the midpoint between Min and Max if not defined.

Remarks

This property can also be set directly, for example to set a default value based on some condition.

-meter
-Value
-High
-Low
-HTMLProgressElement

See also on MDN

Value

The value property of the HTMLMeterElement interface represents the current value of the {{htmlelement("meter")}} element as a floating-point number. It reflects the element's value attribute. If no value is set, it is the Min value or 0, whichever is greater.

[Value("value")]
public Number Value { get; set; }

Property Value

Number

A number. Defaults to either Min or 0, whichever if greater, if not defined.

Remarks

This property can also be set directly, for example to set a default value based on some condition.

-meter
-Min
-HTMLProgressElement

See also on MDN