offlines

open fun offlines(init: Event.() -> Unit): Listener<Event, T>

occurs when the browser starts to work offline

Return

a Listener that emits Events on its Flow

Parameters

init

expression to manipulate the event dispatching like calling stopPropagation or similar DOM-API.


open val offlines: Listener<Event, T>

occurs when the browser starts to work offline