Change the value of the min attribute in a gauge:
The min property sets or returns the value of the min attribute in a gauge.
The min attribute specifies the lower bound of the gauge, and the value must be less than the max attribute value.
If unspecified, the default value is 0.
Tip: The min attribute, together with the max attribute, specifies the full range of the gauge.
The min property is supported in Firefox, Opera, Chrome, and Safari 6.
Return the min property:
Set the min property:
Value | Description |
---|---|
number | Specifies a floating point number that is the minimum value of the gauge. Default value is "0" |
Return Value: | A Number, representing a floating point number that is the minimum value of the gauge |
---|
Return the value of the max attribute in a gauge:
The result of x will be:
HTML reference: HTML <meter> min attribute