HTML::O...t::Meter(3)

πŸ“¦ version 0.6.0, in alpine 3.24

🌸 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 🌟

These Mozilla docs are iconic, honestly.

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