Skip to content

PageResizeEvent

Inherits: Event['BasePage']

Event fired when the size of the containing window or browser is changed.

Typically used to adapt layout dynamically in response to resizes, such as switching between compact and expanded views in a responsive design.

Properties

  • height(float) –

    The new height of the page in logical pixels.

  • width(float) –

    The new width of the page in logical pixels.

Properties#

height #

height: float

The new height of the page in logical pixels.

width #

width: float

The new width of the page in logical pixels.