NAME

HTML::Object::DOM::WindowProxy - HTML Object DOM WindowProxy Class

SYNOPSIS

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

VERSION

v0.2.0

DESCRIPTION

This interface implements a WindowProxy. It is a wrapper around HTML::Object::DOM::Window, but does not inherit from it.

This does not do any specific otherwise, other than existing.

Under JavaScript, a WindowProxy object is a wrapper for a Window object. A WindowProxy object exists in every browsing context. All operations performed on a WindowProxy object will also be applied to the underlying Window object it currently wraps. Therefore, interacting with a WindowProxy object is almost identical to directly interacting with a Window object. When a browsing context is navigated, the Window object its WindowProxy wraps is changed.

INHERITANCE

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

PROPERTIES

All properties are redirecting to those in HTML::Object::DOM::Window

METHODS

All methods are redirecting to those in HTML::Object::DOM::Window

EVENTS & EVENT LISTENERS

All events and event listeners are redirecting to those in HTML::Object::DOM::Window

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Mozilla documentation, StackOverlow about WindowProxy

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.