NAME

HTML::Object::DOM::Element::Legend - HTML Object DOM Legend Class

SYNOPSIS

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

VERSION

v0.2.0

DESCRIPTION

The HTML::Object::DOM::Element::Legend is an interface allowing to access properties of the <legend> elements. It inherits properties and methods from the HTML::Object::Element interface.

INHERITANCE

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

PROPERTIES

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

accessKey

Is a string representing a single-character access key to give access to the element.

See also Mozilla documentation

align

Is a string representing the alignment relative to the form set

See also Mozilla documentation

form

Is a HTML::Object::DOM::Element::Form representing the form that this legend belongs to. If the legend has a fieldset element as its parent, then this attribute returns the same value as the form attribute on the parent fieldset element. Otherwise, it returns undef.

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