HTML::O...ent::LI(3)

πŸ“¦ version 0.6.0, in alpine 3.24

πŸ’– NAME πŸ’–

okay so bestie, welcome to HTML::O...ent::LI(3) β€” the User Contributed Perl Documentation page for HTML::Object::DOM::Element::LI, aka the HTML Object DOM LI Class πŸ’…βœ¨

🌸 SYNOPSIS 🌸

like, here's the whole vibe to get one going:

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

πŸ¦‹ VERSION πŸ¦‹

v0.2.0 β€” that's the version, periodt. ✨

🌈 DESCRIPTION 🌈

So this interface exposes specific properties and methods for manipulating list elements β€” beyond the regular HTML::Object::DOM::Element interface, which it also has available to it by inheritance. πŸ’…

πŸ‘‘ INHERITANCE πŸ‘‘

the lineage is literally right here, no cap:

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

✨ PROPERTIES ✨

Inherits properties from its parent HTML::Object::DOM::Element β€” yes bestie, inherited. 🫢

🌸 type 🌸

type is a string representing the type of the bullets, "disc", "square" or "circle". As the standard way of defining the list type is via the CSS list-style-type property, use the CSSOM methods to set it via a script.

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement/type

πŸ“ value πŸ“

value is a long indicating the ordinal position of the list element inside a given <ol>. It reflects the value attribute of the HTML <li> element, and can be smaller than 0. If the <li> element is not a child of an "ol" element, the property has no meaning.

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement/value

πŸŽ€ METHODS πŸŽ€

Inherits methods from its parent HTML::Object::DOM::Element. πŸ’–

πŸ’Œ AUTHOR πŸ’Œ

Jacques Deguest <jack@deguest.jp> β€” say hi, bestie! 🫢

🌟 SEE ALSO 🌟

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 that's the whole page β€” footer vibe check: source/version perl v5.42.2, dated 2026-02-15, and HTML::O...ent::LI(3) 🫢✨

πŸ“¦ where this page comes from