WasmJsWindowVisibility

Implementation of WindowVisibility for WasmJs.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun addObserver(observer: WindowVisibility.Observer)

Adds an observer to receive events.

Link copied to clipboard
open fun asFlow(): Flow<WindowVisibilityEvent>

Provides a Flow to receive events of window visibility.

Link copied to clipboard
open override fun removeObserver(observer: WindowVisibility.Observer)

Removes an observer that receives events.