NAME

HTML::Object::DOM::Element::OptGroup - HTML Object DOM OptGroup Class

SYNOPSIS

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

VERSION

v0.2.0

DESCRIPTION

This interface provides special properties and methods (beyond the regular HTML::Object::Element object interface they also have available to them by inheritance) for manipulating the layout and presentation of <optgroup> elements.

INHERITANCE

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

PROPERTIES

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

disabled

Is a boolean value representing whether or not the whole list of children <option> is disabled (true) or not (false).

See also Mozilla documentation

label

Is a string representing the label for the group.

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 optgroup 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.