sizemodechange

The sizemodechange event is triggered when a browser window has entered/left fullscreen mode or has been minimized/unminimized/maximized.

Note: This event may fire several times or while resizing the window (for example, see bug 715867), so always check if the window state changed by inspecting window.windowState in the event.

General info

Specification
Addons specific
Interface
Event
Bubbles
Yes
Cancelable
Yes
Target
window
Default Action
None

Properties

Property Type Description
target Read only EventTarget The event target (the topmost target in the DOM tree).
type Read only DOMString The type of event.
bubbles Read only boolean Does the event normally bubble?
cancelable Read only boolean Is it possible to cancel the event?

Document Tags and Contributors

 Contributors to this page: teoli, Sheppy, ethertank, louisremi
 Last updated by: teoli,