unsafeWindowOwner

com.raquo.laminar.api.Laminar.unsafeWindowOwner$
object unsafeWindowOwner extends Owner

An owner that never kills its possessions.

Be careful to only use for subscriptions whose lifetime should match the lifetime of dom.window (that is, of your whole application, basically).

Legitimate use case: for app-wide observers of documentEvents and windowEvents.

Attributes

Graph
Supertypes
trait Owner
class Object
trait Matchable
class Any
Self type
In this article