HTML::O...ataList(3)

πŸ“¦ version 0.6.0, in alpine 3.24

πŸ’… HTML::Object::DOM::Element::DataList

okay so bestie, you found a User Contributed Perl Documentation page, and it's the HTML::Object::DOM::Element::DataList class β€” the whole ✨ datalist ✨ situation. let's get into it πŸŽ€


✨ NAME ✨

HTML::Object::DOM::Element::DataList β€” the HTML Object DOM DataList Class, no cap πŸ’–


🌸 SYNOPSIS 🌸

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

literally that's it, you construct one and if it doesn't work you die with the error and a newline. periodt 🫢


⭐ VERSION ⭐

v0.2.0

she's on version v0.2.0, iconic πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so this interface gives you special properties β€” like, beyond the HTML::Object::Element object interface that it also has available to it by inheritance (iykyk) β€” so you can manipulate <datalist> elements and everything inside them. it's giving main character energy for your datalists, fr fr πŸ’–


🌈 INHERITANCE 🌈

the whole family tree, look at her go πŸ‘‘

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

five generations of slay 🧚


πŸŽ€ PROPERTIES πŸŽ€

she inherits properties from her parent HTML::Object::DOM::Element (as she should πŸ’…)

πŸ’œ options

is a an array object representing a collection of the contained option elements.

yes bestie, "a an" β€” that's exactly how it's written in the original, we don't fix, we preserve 😭

see also the Mozilla documentation over at https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement/options ✨


πŸ”₯ METHODS πŸ”₯

inherits methods from its parent HTML::Object::DOM::Element. that's the whole section, she's lowkey minimal but we respect it 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Jacques Deguest <jack@deguest.jp> β€” the mastermind behind all this, we stan 🌟


πŸ’– SEE ALSO πŸ’–

go read the docs bestie, they're literally right there πŸ“šβœ¨


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. πŸͺ


and that's the whole page, bestie πŸ’– this little gem shipped as perl v5.42.2 on 2026-02-15 β€” take care of her, mwah πŸŽ€πŸ’‹

πŸ“¦ where this page comes from