HTML-Object

 view release on metacpan or  search on metacpan

lib/HTML/Object/DOM/Window.pm  view on Meta::CPAN


sub scrollByLines { return; }

sub scrollByPages { return; }

# Note: property scrollMaxX read-only
sub scrollMaxX { return; }

# Note: property scrollMaxY read-only
sub scrollMaxY { return; }

sub scrollTo { return; }

# Note: property scrollX read-only
sub scrollX : lvalue { return( shift->_set_get_number( 'scrollx', @_ ) ); }

# Note: property scrollY read-only
sub scrollY : lvalue { return( shift->_set_get_number( 'scrolly', @_ ) ); }

# Note: property scrollbars read-only
sub scrollbars { return; }

# Note: property self read-only
sub self : lvalue { return( shift( @_ ) ); }

# Note: property sessionStorage
sub sessionStorage { return; }

sub setImmediate { return; }

sub setResizable { return; }

sub showDirectoryPicker { return; }

sub showOpenFilePicker { return; }

sub showSaveFilePicker { return; }

# Note: property sidebar read-only
sub sidebar { return; }

sub sizeToContent { return; }

# Note: property speechSynthesis read-only
sub speechSynthesis { return; }

# Note: property status
sub status : lvalue { return( shift->_set_get_scalar_as_object( 'status', @_ ) ); }

# Note: property statusbar read-only
sub statusbar { return; }

sub stop { return; }

# Note: property toolbar read-only
sub toolbar { return; }

# Note: property top read-only
sub top : lvalue { return( shift->_set_get_object_lvalue( 'top', 'HTML::Object::DOM::Window', @_ ) ); }

sub updateCommands { return; }

# Note: property visualViewport read-only
sub visualViewport : lvalue { return( shift->_set_get_number( 'visualviewport', @_ ) ); }

# Note: property window read-only
sub window { return( shift( @_ ) ); }

sub is_property { return( scalar( grep( /^$_[1]$/i, @LVALUE_METHODS ) ) ); }

1;
# NOTE: POD
__END__

=encoding utf-8

=head1 NAME

HTML::Object::DOM::Window - HTML Object DOM Window Class

=head1 SYNOPSIS

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

=head1 VERSION

    v0.2.0_1

=head1 DESCRIPTION

The Window interface represents a window containing a L<DOM document|HTML::Object::DOM::Document>; the L<document property|/document> points to the L<DOM document|HTML::Object::DOM::Document> loaded in that window.

A window for a given document can be obtained using the L<document->defaultView property|HTML::Object::DOM/defaultView.

=head1 INHERITANCE

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

=head1 PROPERTIES

Inherits properties from its parent L<HTML::Object::EventTarget>

=head2 DOMMatrix

This always returns C<undef> under perl.

Normally, under JavaScript, this returns a reference to a C<DOMMatrix> object, which represents 4x4 matrices, suitable for 2D and 3D operations.

See also L<Mozilla documentation|https://developer.mozilla.org/en-US/docs/Web/API/Window/DOMMatrix>

=head2 DOMMatrixReadOnly

This always returns C<undef> under perl.

Normally, under JavaScript, this returns a reference to a C<DOMMatrixReadOnly> object, which represents 4x4 matrices, suitable for 2D and 3D operations.

See also L<Mozilla documentation|https://developer.mozilla.org/en-US/docs/Web/API/Window/DOMMatrixReadOnly>



( run in 1.274 second using v1.01-cache-2.11-cpan-63c85eba8c4 )