HTML::Object::DOM::Element::LI - HTML Object DOM LI Class
use HTML::Object::DOM::Element::LI; my $li = HTML::Object::DOM::Element::LI->new || die( HTML::Object::DOM::Element::LI->error, "\n" );
v0.2.0
This interface exposes specific properties and methods (beyond those defined by regular HTML::Object::DOM::Element interface it also has available to it by inheritance) for manipulating list elements.
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +--------------------------------+ | HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::LI | +-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +--------------------------------+
Inherits properties from its parent HTML::Object::DOM::Element
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.
disc
square
circle
See also Mozilla documentation
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.
ol
Inherits methods from its parent HTML::Object::DOM::Element
Jacques Deguest <jack@deguest.jp>
Mozilla documentation, Mozilla documentation on li element
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.
To install HTML::Object, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Object
CPAN shell
perl -MCPAN -e shell install HTML::Object
For more information on module installation, please visit the detailed CPAN module installation guide.