Listener

interface Listener<E : Event>

Handles a Flow of Events

Functions

composedPath
Link copied to clipboard
js
open fun composedPath(): Flow<Array<EventTarget>>
map
Link copied to clipboard
js
open fun <R> map(transform: suspend (E) -> R): Flow<R>
preventDefault
Link copied to clipboard
js
abstract fun preventDefault(): Listener<E>
stopImmediatePropagation
Link copied to clipboard
js
abstract fun stopImmediatePropagation(): Listener<E>
stopPropagation
Link copied to clipboard
js
abstract fun stopPropagation(): Listener<E>

Properties

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

Inheritors

WindowListener
Link copied to clipboard
DomListener
Link copied to clipboard