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

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

package uikit.components

import uikit.Component

external interface DropdownComponent : Component {
    fun show()
    fun hide(delay: Boolean? = definedExternally)
}

external interface DropdownOptions {
    var toggle: Any? /* String | Boolean */
    var pos: String?
    var mode: String?
    var delayShow: Number?
    var delayHide: Number?
    var boundary: String?
    var boundaryAlign: Boolean?
    var flip: Any? /* Boolean | String */
    var offset: Number?
    var animation: String?
    var duration: Number?
}

object DropdownEvents {
    const val toggle = "toggle"
    const val beforeShow = "beforeshow"
    const val show = "show"
    const val shown = "shown"
    const val beforeHide = "beforehide"
    const val hide = "hide"
    const val hidden = "hidden"
    const val stack = "stack"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy