Listener

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

Handles a Flow of Events

Constructors

Listener
Link copied to clipboard
js
fun <E : Event> Listener(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>

Inheritors

WindowListener
Link copied to clipboard
DomListener
Link copied to clipboard