EventGenerator

interface EventGenerator<T>

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

Functions

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

Properties

browser
Link copied to clipboard
abstract val browser: WebBrowser

Inheritors

Element
Link copied to clipboard
Document
Link copied to clipboard
Window
Link copied to clipboard