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

πŸ“¦ version 0.6.0, in alpine 3.24

πŸ’… HTML::O...t::Param(3)

okay so bestie, this is the user-contributed Perl documentation for HTML::O...t::Param(3) and it's genuinely such a vibe β€” buckle up πŸŽ€


✨ NAME ✨

HTML::Object::DOM::Element::Param β€” literally the HTML Object DOM Param Class, no cap πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

the whole flex is like three lines, so iconic:

use HTML::Object::DOM::Element::Param;
my $param = HTML::Object::DOM::Element::Param->new ||
    die( HTML::Object::DOM::Element::Param->error, "\n" );

like, either you get your object or you die screaming the error message plus a newline. main character energy fr fr πŸ’€


⭐ VERSION ⭐

v0.2.0

that's the version, periodt 🌸


πŸ’– DESCRIPTION πŸ’–

so this interface hands you special properties β€” like, on top of everything the regular HTML::Object::Element object interface already inherits, which is already a lot, she's generous β€” specifically for wrangling <param> elements πŸ’…

and what even is a <param> element? so glad you asked: it's literally a pair of a key and a value that acts as a parameter for an <object> element. key + value, matching set, obsessed 🫢


🌈 INHERITANCE 🌈

the family tree is giving royal lineage, look at this glow-up chain πŸ‘‘

+-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +-----------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::Param |
+-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +-----------------------------------+

everybody inherits from the one before, it's giving generational wealth ✨


πŸŽ€ PROPERTIES πŸŽ€

she inherits properties from her parent, HTML::Object::DOM::Element. nepotism but make it DOM πŸ’œ

πŸ’« name

it's a string representing the name of the parameter, and it reflects the name attribute. simple, clean, does what it says on the tin πŸ“

also see the Mozilla documentation here: https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/name

πŸ’« type

it's a string containing the type of the parameter β€” but like, only when valueType has the "ref" value, iykyk. it reflects the type attribute πŸ”₯

also see the Mozilla documentation here: https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/type

πŸ’« value

it's a string representing the value associated to the parameter, and it reflects the value attribute. the other half of the key-value duo, the matching-set moment πŸ’–

also see the Mozilla documentation here: https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/value

πŸ’« valueType

it's a string containing the type of the value. it reflects the valuetype attribute and it has exactly one of these values: "data", "ref", or "object" β€” pick one, bestie, it's not a multiple choice situation πŸ™ˆ

also see the Mozilla documentation here: https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement/valueType


🧚 METHODS 🧚

she inherits methods from her parent, HTML::Object::DOM::Element. again with the inheritance, we love a supportive parent πŸ’


🌸 AUTHOR 🌸

Jacques Deguest <jack@deguest.jp> β€” the icon, the legend, the moment πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

both links, both iconic, go read them πŸ’œ


Copyright(c) 2021 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.


ngl that license bit is important, don't skip it just because it's the last section, bestie 😭

and that's the whole page! this was docs for HTML::O...t::Param(3) on perl v5.42.2, dated 2026-02-15 β€” mwah, bye, drink some water πŸ¦‹πŸ’–

πŸ“¦ where this page comes from