DocumentEventProps

com.raquo.laminar.defs.eventProps.DocumentEventProps

Document-only Events

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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.

DOMContentLoaded_event @ MDN

Attributes

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.

fullscreenchange_event @ MDN

Attributes

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.

fullscreenerror_event @ MDN

Attributes

lazy val onSelectionChange: EventProp[Event]

The selectionchange event is fired when the current Selection of a Document is changed. This event is not cancelable and does not bubble.

The selectionchange event is fired when the current Selection of a Document is changed. This event is not cancelable and does not bubble.

selectionchange_event @ MDN

Attributes

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.

visibilitychange_event @ MDN

Attributes