HTML::O...:Details(3)

πŸ“¦ version 0.6.0, in alpine 3.24

πŸ’– 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

go read those, iykyk 🫢


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