WindowListener

class WindowListener<E : Event>(events: Flow<E>) : Listener<E>

Handles a Flow of Window Events

Constructors

WindowListener
Link copied to clipboard
js
fun <E : Event> WindowListener(events: Flow<E>)

Functions

composedPath
Link copied to clipboard
js
fun composedPath(): Flow<Array<EventTarget>>
equals
Link copied to clipboard
js
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
js
open fun hashCode(): Int
map
Link copied to clipboard
js
inline fun <R> map(crossinline mapper: suspend (E) -> R): Flow<R>
preventDefault
Link copied to clipboard
js
fun preventDefault(): Listener<E>
stopImmediatePropagation
Link copied to clipboard
js
fun stopImmediatePropagation(): Listener<E>
stopPropagation
Link copied to clipboard
js
fun stopPropagation(): Listener<E>
toString
Link copied to clipboard
js
open fun toString(): String

Properties

events
Link copied to clipboard
js
val events: Flow<E>