EventGenerator

interface EventGenerator<T>(source)

Something that event listeners can be attached to, such as an kweb.Element or a kweb.html.Document

Inheritors

Properties

Link copied to clipboard
abstract val browser: WebBrowser

Functions

Link copied to clipboard
abstract fun addEventListener(eventName: String, returnEventFields: Set<String> = Collections.emptySet(), retrieveJs: String?, preventDefault: Boolean, callback: (JsonElement) -> Unit): T
Link copied to clipboard
abstract fun addImmediateEventCode(eventName: String, jsCode: String)