All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.uikit.util.Event.kt Maven / Gradle / Ivy

package uikit.util

import org.w3c.dom.events.*

typealias OnFun = (
    targets: Any /* String | Array | Element */,
    type: String,
    selector: String?,
    listener: (e: Event) -> Unit,
    useCapture: Boolean?) -> () -> OffFun

typealias OffFun = (
    targets: Any /* String | Array | Element */,
    type: String,
    selector: String?,
    listener: (e: Event) -> Unit,
    useCapture: Boolean?) -> Unit

typealias OnceFun = (
    element: Any /* String | Array | Element */,
    type: String,
    selector: String?,
    listener: (e: Event) -> Unit,
    useCapture: Boolean?,
    condition: ((e: Event) -> Boolean)?) -> OffFun




© 2015 - 2025 Weber Informatics LLC | Privacy Policy