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
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
Remarks
This property can also be set directly, for example to set a default value based on some condition.
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
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
Remarks
This property can also be set directly, for example to set a default value based on some condition.
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.
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.
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
Remarks
This property can also be set directly, for example to set a default value based on some condition.
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
Remarks
This property can also be set directly, for example to set a default value based on some condition.