NAME

HTML::Object::DOM::Element::OList - HTML Object DOM OL List Class

SYNOPSIS

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

VERSION

v0.2.0

DESCRIPTION

This interface provides special properties (beyond those defined on the regular HTML::Object::Element interface it also has available to it by inheritance) for manipulating ordered list elements.

INHERITANCE

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

PROPERTIES

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

compact

Is a boolean value indicating that spacing between list items should be reduced. This property reflects the compact attribute only, it does not consider the line-height CSS property used for that behavior in modern pages.

See also Mozilla documentation

reversed

Is a boolean value reflecting the reversed and defining if the numbering is descending, that is its value is true, or ascending (false).

See also Mozilla documentation

start

Is a long value reflecting the start and defining the value of the first number of the first element of the list and reflects the start attribute.

See also Mozilla documentation

type

Is a string value reflecting the type and defining the kind of marker to be used to display. It can have the following values:

  • '1' meaning that decimal numbers are used: 1, 2, 3, 4, 5, …

  • 'a' meaning that the lowercase latin alphabet is used: a, b, c, d, e, …

  • 'A' meaning that the uppercase latin alphabet is used: A, B, C, D, E, …

  • 'i' meaning that the lowercase latin numerals are used: i, ii, iii, iv, v, …

  • 'I' meaning that the uppercase latin numerals are used: I, II, III, IV, V, …

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 ol element

COPYRIGHT & LICENSE

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.