HTML::O...ent::Pre(3)

πŸ“¦ version 0.6.0, in alpine 3.24

πŸ’– NAME πŸ’–

HTML::O...ent::Pre(3) is the User Contributed Perl Documentation page for HTML::Object::DOM::Element::Pre β€” the HTML Object DOM Pre Class. That's the whole name, bestie, no cap. πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

okay so you load it like this, literally:

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

⭐ VERSION ⭐

It's giving v0.2.0. Periodt.

πŸ¦‹ DESCRIPTION πŸ¦‹

This interface is here to expose specific properties and methods β€” on top of the ones from the HTML::Object::DOM::Element interface that it also has available by inheritance β€” for manipulating a block of preformatted text (<pre>). Main character energy for preformatted blocks, honestly. ✨

🌈 INHERITANCE 🌈

The class tree is literally this glow-up:

+-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +---------------------------------+
| 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. Yes, family inheritance, we love to see it. 🫢

🌸 width 🌸

Is a long value reflecting the obsolete width attribute, containing a fixed-size length for the <pre> element. Obsolete is the key word here, bestie β€” it's giving vintage, not fresh. 😭

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement/width

πŸ’… METHODS πŸ’…

Inherits methods from its parent HTML::Object::DOM::Element. That's the tea. 🍡

πŸ‘‘ AUTHOR πŸ‘‘

Jacques Deguest (jack@deguest.jp) β€” iconic. πŸ’œ

πŸ”₯ SEE ALSO πŸ”₯

Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement

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.


πŸ’– cute sign-off: this page came from perl v5.42.2, dated 2026-02-15, and the manual tag is HTML::O...ent::Pre(3). bye bestie, go treat your preformatted text like the main character it is βœ¨πŸŽ€

πŸ“¦ where this page comes from