HTML::O...t::Meter(3)
πΈ NAME πΈ
okay so bestie, this is HTML::O...t::Meter(3) from the User Contributed Perl Documentation, and it's the manual page for HTML::Object::DOM::Element::Meter β the HTML Object DOM Meter Class. ngl, it's highkey giving meter-class main character energy. π
β¨ SYNOPSIS β¨
Like, use it like this:
use HTML::Object::DOM::Element::Meter;
my $meter = HTML::Object::DOM::Element::Meter->new ||
die( HTML::Object::DOM::Element::Meter->error, "\n" );
π VERSION π
v0.2.0
π¦ DESCRIPTION π¦
The HTML <meter> elements expose the HTMLMeterElement interface, which provides special properties and methods β beyond the HTML::Object::DOM::Element object interface they also have available to them by inheritance β for manipulating the layout and presentation of <meter> elements. The way that this class handles meter stuff? Obsessed. This interface ate, no cap. Not me being hype about a DOM meter class, but here we are. Slay. π
π INHERITANCE π
The inheritance chain is lowkey a whole main-character lineup. Vibe check: passed.
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +-----------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::Meter |
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +-----------------------------------+
π PROPERTIES π
Inherits properties from its parent HTML::Object::DOM::Element.
π₯ high π₯
A double representing the value of the high boundary, reflecting the high attribute.
See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/high
π·οΈ labels π·οΈ
Read-only alert π¨ labels is read-only, fr fr.
A NodeList of <label> elements that are associated with the element.
Example:
my $labelElements = meter->labels;
<label id="label1" for="test">Label 1</label>
<meter id="test" min="0" max="100" value="70">70</meter>
<label id="label2" for="test">Label 2</label>
Another example:
window->addEventListener( DOMContentLoaded => sub
{
my $meter = $doc->getElementById( 'test' );
for( my $i = 0; $i < $meter->labels->length; $i++ )
{
say( $meter->labels->[$i]->textContent ); # "Label 1" and "Label 2"
}
});
See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/labels
π low π
A double representing the value of the low boundary, reflecting the lowattribute.
See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/low
π§ max π§
A double representing the maximum value, reflecting the max attribute.
See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/max
β min β
A double representing the minimum value, reflecting the min attribute.
See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/min
π optimum π
A double representing the optimum, reflecting the optimum attribute.
See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/optimum
π value π
A double representing the currrent value, reflecting the value attribute.
See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/value
π METHODS π
Inherits methods from its parent HTML::Object::DOM::Element. iykyk β that's literally the whole section, bestie.
π AUTHOR π
Jacques Deguest <jack@deguest.jp>
π SEE ALSO π
- Mozilla documentation:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement - Mozilla documentation on meter element:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter
These Mozilla docs are iconic, honestly.
π«Ά COPYRIGHT & LICENSE π«Ά
Copyright(c) 2022 DEGUEST Pte. Ltd.
All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
okay bestie, that's the whole page. This version comes from perl v5.42.2, dated 2026-02-15, and yes β it's the HTML::O...t::Meter(3) manual page. Periodt. π
π¦ where this page comes from
- alpine 3.24: perl-html-object-doc 0.6.0-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms