DocumentEventProps

Document-only Events

class Object
trait Matchable
class Any

Value members

Concrete fields

lazy val onDomContentLoaded: EventProp[Event]

The DOMContentLoaded event is fired when the initial HTML document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading. A very different event load should be used only to detect a fully-loaded page.

The DOMContentLoaded event is fired when the initial HTML document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading. A very different event load should be used only to detect a fully-loaded page.

It is an incredibly common mistake to use load where DOMContentLoaded would be much more appropriate, so be cautious.

See also:
lazy val onFullScreenChange: EventProp[Event]

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

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

See also:
lazy val onFullScreenError: EventProp[Event]

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

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

See also:
lazy val onVisibilityChange: EventProp[Event]

The visibilitychange event is fired when the content of a tab has become visible or has been hidden.

The visibilitychange event is fired when the content of a tab has become visible or has been hidden.

See also: