The Meter object represents an HTML <meter> element.
注: The <meter> element is not supported in Internet Explorer / Edge or Safari 5 (and earlier versions).
You can access a <meter> element by using getElementById():
You can create a <meter> element by using the document.createElement() method:
| Property | 説明 |
|---|---|
| high | Sets or returns the value of the high attribute in a gauge |
| labels | Returns a list of <label> elements that are labels for the gauge |
| low | Sets or returns the value of the low attribute in a gauge |
| max | Sets or returns the value of the max attribute in a gauge |
| min | Sets or returns the value of the min attribute in a gauge |
| optimum | Sets or returns the value of the optimum attribute in a gauge |
| value | Sets or returns the value of the value attribute in a gauge |
The Meter object also supports the standard properties and events.
HTML reference: HTML <meter> tag