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

main.uikit.components.Toggle.kt Maven / Gradle / Ivy

There is a newer version: 3.5.7-pre.11-kotlin-1.5.21
Show newest version
package uikit.components

import uikit.*

external interface ToggleComponent : Component {
    fun toggle()
}

external interface ToggleOptions {
    var target: String?
    var mode: String?
    var cls: String?
    var media: Any? /* Int | String */
    var animation: String?
    var duration: Number?
    var queued: Boolean?
}

object ToggleEvents {
    const val beforeShow = "beforeshow"
    const val show = "show"
    const val shown = "shown"
    const val beforeHide = "beforehide"
    const val hide = "hide"
    const val hidden = "hidden"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy