The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::Object::DOM::Element::OptionsCollection - HTML Object DOM Options Collection

SYNOPSIS

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

VERSION

    v0.2.0

DESCRIPTION

The OptionsCollection interface represents a collection of option HTML elements (in document order) and offers methods and properties for selecting from the list as well as optionally altering its items. This object is returned only by the options property of select.

INHERITANCE

    +-------------------------------+     +-----------------------------------------------+
    | HTML::Object::DOM::Collection | --> | HTML::Object::DOM::Element::OptionsCollection |
    +-------------------------------+     +-----------------------------------------------+

PROPERTIES

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

length

Read-only.

This returns the number of options contained in the select element.

See also Mozilla documentation

METHODS

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

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Mozilla documentation

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.