NAME

HTML::Object::DOM::Element::LI - HTML Object DOM LI Class

SYNOPSIS

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

DESCRIPTION

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.

INHERITANCE

+-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +--------------------------------+
| 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

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

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

METHODS

Inherits methods from its parent HTML::Object::DOM::Element

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Mozilla documentation, Mozilla documentation on li element

COPYRIGHT & LICENSE

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.