The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

HTML::Object::DOM::Element::Pre - HTML Object DOM Pre Class

SYNOPSIS

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

VERSION

    v0.2.0

DESCRIPTION

This interface exposes specific properties and methods (beyond those of the HTML::Object::DOM::Element interface it also has available to it by inheritance) for manipulating a block of preformatted text (<pre>).

INHERITANCE

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

PROPERTIES

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

width

Is a long value reflecting the obsolete width attribute, containing a fixed-size length for the <pre> element.

See also Mozilla documentation

METHODS

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

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.