Interfaces and helper functions for Snabbdom virtual dom implementation and a few useful extension functions.
object JSON
JSON utility functions |
|
class KvEvent : CustomEvent
Helper class for defining custom events. |
|
external class Object
JavaScript Object type |
const val ENTER_KEY: Int
Keycode of the ENTER key. |
|
const val ESC_KEY: Int
Keycode of the ESC key. |
|
val auto: CssSize
Helper property to describe CSS auto value. |
|
val normal: CssSize
Helper property to describe CSS normal value. |
suspend fun <K : Any> Form<K>.getDataWithFileContent(): K suspend fun <K : Any> FormPanel<K>.getDataWithFileContent(): K
Returns current data model with file content read for all KFiles controls. |
|
fun isIE11(): Boolean
Utility function to detect Internet Explorer 11. |
|
fun obj(init: dynamic.() -> Unit): dynamic
Helper function for creating JavaScript objects. |
|
fun snAttrs(pairs: List<StringPair>): Attrs
Helper function for creating attributes parameters for Snabbdom. |
|
fun snClasses(pairs: List<StringBoolPair>): Classes
Helper function for creating classes parameters for Snabbdom. |
|
fun snOpt(block: VNodeData.() -> Unit): VNodeData
Helper function for creating object parameters for Snabbdom. |
|
fun snProps(pairs: List<StringPair>): Props
Helper function for creating properties parameters for Snabbdom. |
|
fun snStyle(pairs: List<StringPair>): VNodeStyle
Helper function for creating style parameters for Snabbdom. |