HTML::O...owProxy(3)

πŸ“¦ version 0.6.0, in alpine 3.24

πŸ’… HTML::Object::DOM::WindowProxy(3) β€” the WindowProxy class, bestie edition

okay so you're looking at HTML::Object::DOM::WindowProxy, from the Perl side of the HTML Object DOM universe. Sit down, hydrate, and let's get into it 🫢


✨ NAME ✨

HTML::Object::DOM::WindowProxy β€” the HTML Object DOM WindowProxy Class. that's it, that's the name, she's iconic and she knows it πŸ’–


✨ SYNOPSIS ✨

the whole vibe, verbatim:

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

literally that's all you need. if new flops, we die with error and a newline. respectful. πŸ™ˆ


✨ VERSION ✨

v0.2.0

that's the version, no cap ⭐


✨ DESCRIPTION ✨

so this interface implements a "WindowProxy". it's a wrapper around HTML::Object::DOM::Window, but β€” important β€” it does not inherit from it. bestie is adjacent, not related πŸ‘‘

and honestly? it doesn't do anything specific otherwise, other than existing. she's a vibe. she's a wrapper. she's there πŸ’…

under JavaScript, a "WindowProxy" object is a wrapper for a Window object, periodt. a "WindowProxy" object exists in every browsing context. every single operation you perform on a "WindowProxy" object will also be applied to the underlying Window object it currently wraps. so like, interacting with a WindowProxy object is almost identical to directly interacting with a Window object. same energy, fr fr 🌈

and when a browsing context gets navigated? the Window object that its WindowProxy wraps is changed. she rebrands. she's flexible like that πŸ¦‹


✨ INHERITANCE ✨

here's the family tree, exactly as it appears:

+-----------------------+     +---------------------------+     +---------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Window |
+-----------------------+     +---------------------------+     +---------------------------+

look at that lineage. gorgeous. not a single stray +. πŸŽ€


✨ PROPERTIES ✨

all properties are redirecting to those in HTML::Object::DOM::Window ✨ (yes, all of them β€” she outsources and we respect the hustle)


✨ METHODS ✨

same deal: all methods are redirecting to those in HTML::Object::DOM::Window πŸ’œ


✨ EVENTS & EVENT LISTENERS ✨

you already know: all events and event listeners are redirecting to those in HTML::Object::DOM::Window 🌸


✨ AUTHOR ✨

Jacques Deguest <jack@deguest.jp> β€” the main character who wrote this πŸ‘‘


✨ SEE ALSO ✨


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


okay that's the whole page, you ate that πŸ“ and just so you know: this was perl v5.42.2, dated 2026-02-15, and you've been reading HTML::O...owProxy(3) the whole time πŸ’–βœ¨πŸŽ€ bye bestie!! 🌈

πŸ“¦ where this page comes from