HTML::O...:Details(3)
π HTML::Object::DOM::Element::Details β the HTML Object DOM Details Class π
okay so bestie, this is the manual page for HTML::Object::DOM::Element::Details (perl docs, class vibes only) and honestly? it's a little one but she's got range. let's get into it β¨
π«Ά SYNOPSIS
use HTML::Object::DOM::Element::Details;
my $details = HTML::Object::DOM::Element::Details->new ||
die( HTML::Object::DOM::Element::Details->error, "\n" );
that's the whole vibe check: you load the thing, you new it, and if that fails you die with ->error and a "\n" like the icon you are π
β VERSION
v0.2.0
πΈ DESCRIPTION
so this interface gives you the special properties β like, on top of the regular HTML::Object::Element interface, which it also has available to it by inheritance β for manipulating <details> elements. that's it, that's the whole job, and she does it beautifully π₯
π INHERITANCE
the family tree is giving main character energy, look at this lineage:
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +-------------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::Details |
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +-------------------------------------+
five generations deep and every single one of them slays π
π PROPERTIES
inherits properties from its parent HTML::Object::DOM::Element β no cap.
β¨ open
is a boolean value reflecting the "open" HTML attribute, indicating whether or not the element's contents (not counting the <summary>) is to be shown to the user.
see also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement/open π¦
π§ METHODS
inherits methods from its parent HTML::Object::DOM::Element. that's the whole section, bestie, she's low-maintenance π
π AUTHOR
Jacques Deguest <jack@deguest.jp>
π SEE ALSO
- Mozilla documentation:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement - Mozilla documentation on
detailselement:https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
go read those, iykyk π«Ά
π COPYRIGHT & LICENSE
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.
fr fr, that's the license β same terms as Perl itself, periodt. don't be weird about it π
and that's the page!! this was HTML::Object::DOM::Element::Details(3), generated from perl v5.42.2 on 2026-02-15 β like, that's the source/version and the date, right there at the bottom where the footer lives, now serving looks in a sign-off instead π
π see you in the group chat, bestie! π
π¦ 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