Document: fullscreenchange event

The fullscreenchange event is fired immediately after the browser switches into or out of full-screen mode.

Example

fullscreenchange event example

Document: fullscreenerror event

The fullscreenerror event is fired when the browser cannot switch to full-screen mode.

Window: resize event

The resize event fires when the document view (window) has been resized.

Example

Resize the browser window to fire the resize event.

Window height:

Window width:

Document: scroll event

The compositionend event is fired when a text composition system such as an input method editor completes or cancels the current composition session.

Example

Scroll Y :