HTML::Object::DOM::Element::OptionsCollection - HTML Object DOM Options Collection
use HTML::Object::DOM::Element::OptionsCollection; my $list = HTML::Object::DOM::Element::OptionsCollection->new || die( HTML::Object::DOM::Element::OptionsCollection->error, "\n" );
v0.2.0
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.
OptionsCollection
+-------------------------------+ +-----------------------------------------------+ | HTML::Object::DOM::Collection | --> | HTML::Object::DOM::Element::OptionsCollection | +-------------------------------+ +-----------------------------------------------+
Inherits properties from its parent HTML::Object::DOM::Collection
Read-only.
This returns the number of options contained in the select element.
See also Mozilla documentation
Inherits methods from its parent HTML::Object::DOM::Collection
Jacques Deguest <jack@deguest.jp>
Mozilla documentation
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.