mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-06-02 16:05:20 +00:00
17 lines
389 B
Kotlin
17 lines
389 B
Kotlin
package dev.inmo.jsuikit.types
|
|
|
|
import org.w3c.dom.Element
|
|
import kotlin.js.Json
|
|
|
|
external interface UIKit {
|
|
val notification: UIKitNotifications
|
|
val modal: UIKitDialogs
|
|
|
|
|
|
fun notification(message: String, parameters: Json)
|
|
fun notification(element: Element): UIKitNotification?
|
|
|
|
fun modal(element: Element): UIKitDialog
|
|
fun modal(selector: String): UIKitDialog?
|
|
}
|