OnReceiver

class OnReceiver<T : EventGenerator<T>>(val source: T, retrieveJs: String? = null, val preventDefault: Boolean)(source)

Constructors

Link copied to clipboard
constructor(source: T, retrieveJs: String? = null, preventDefault: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val source: T

Functions

Link copied to clipboard
fun abort(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun afterprint(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun beforeprint(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun beforeunload(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun blur(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun change(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun click(callback: (event: MouseEvent) -> Unit): T
Link copied to clipboard
fun contextmenu(callback: (event: MouseEvent) -> Unit): T
Link copied to clipboard
fun copy(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun cut(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun dblclick(callback: (event: MouseEvent) -> Unit): T
Link copied to clipboard
fun drag(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun dragend(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun dragenter(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun dragleave(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun dragover(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun dragstart(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun drop(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun error(callback: (event: Event) -> Unit): T
Link copied to clipboard
inline fun <U : Any> event(eventName: String, crossinline callback: (event: U) -> Unit): T
fun event(eventName: String, returnEventFields: Set<String> = emptySet(), callback: (event: JsonElement) -> Unit): T
Link copied to clipboard
fun focus(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun focusin(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun focusout(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun hashchange(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun input(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun invalid(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun keydown(callback: (event: KeyboardEvent) -> Unit): T
Link copied to clipboard
fun keypress(callback: (event: KeyboardEvent) -> Unit): T
Link copied to clipboard
Link copied to clipboard
fun keyup(callback: (event: KeyboardEvent) -> Unit): T
Link copied to clipboard
fun load(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun mousedown(callback: (event: MouseEvent) -> Unit): T
Link copied to clipboard
fun mouseenter(callback: (event: MouseEvent) -> Unit): T
Link copied to clipboard
fun mouseleave(callback: (event: MouseEvent) -> Unit): T
Link copied to clipboard
fun mousemove(callback: (event: MouseEvent) -> Unit): T
Link copied to clipboard
fun mouseout(callback: (event: MouseEvent) -> Unit): T
Link copied to clipboard
fun mouseover(callback: (event: MouseEvent) -> Unit): T
Link copied to clipboard
fun mouseup(callback: (event: MouseEvent) -> Unit): T
Link copied to clipboard
fun pagehide(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun pageshow(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun paste(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun popstate(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun reset(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun resize(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun scroll(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun search(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun select(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun selectionchange(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun selectstart(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun submit(callback: (event: Event) -> Unit): T
Link copied to clipboard
fun unload(callback: (event: Event) -> Unit): T