Interfaces and helper functions for Snabbdom virtual dom implementation and a few useful extension functions.
(js)
Cache |
This is a LRU cache that has no performance impact for cache insertions once the capacity of the cache has been reached. For cache hit, performance is O(1) and for cache eviction, it is O(1). class Cache<K, V> |
(js)
JSON |
JSON utility functions object JSON |
(js)
KvEvent |
Helper class for defining custom events. class KvEvent : CustomEvent |
(js)
LinkedList |
class LinkedList<T> |
(js)
Node |
Created by gazollajunior on 07/04/16. class Node<T> |
(js)
Object |
JavaScript Object type class Object |
(js)
kotlin.Any |
|
(js)
kotlin.collections.MutableList |
|
(js)
kotlin.Int |
|
(js)
kotlin.Number |
|
(js)
kotlin.Pair |
|
(js)
kotlin.String |
|
(js)
org.w3c.files.File |
(js)
auto |
Helper property to describe CSS auto value. val auto: CssSize |
(js)
ENTER_KEY |
Keycode of the ENTER key. const val ENTER_KEY: Int |
(js)
ESC_KEY |
Keycode of the ESC key. const val ESC_KEY: Int |
(js)
normal |
Helper property to describe CSS normal value. val normal: CssSize |
(js)
getDataWithFileContent |
Returns current data model with file content read for all KFiles controls. suspend fun <K : Any> Form<K>.getDataWithFileContent(): K suspend fun <K : Any> FormPanel<K>.getDataWithFileContent(): K |
(js)
isIE11 |
Utility function to detect Internet Explorer 11. fun isIE11(): Boolean |
(js)
obj |
Helper function for creating JavaScript objects. fun obj(init: dynamic.() -> Unit): dynamic
Helper function for creating JavaScript objects with given type. fun <T> obj(init: T.() -> Unit): T |
(js)
snAttrs |
Helper function for creating attributes parameters for Snabbdom. fun snAttrs(pairs: List<StringPair>): Attrs |
(js)
snClasses |
Helper function for creating classes parameters for Snabbdom. fun snClasses(pairs: List<StringBoolPair>): Classes |
(js)
snOpt |
Helper function for creating object parameters for Snabbdom. fun snOpt(block: VNodeData.() -> Unit): VNodeData |
(js)
snProps |
Helper function for creating properties parameters for Snabbdom. fun snProps(pairs: List<StringPair>): Props |
(js)
snStyle |
Helper function for creating style parameters for Snabbdom. fun snStyle(pairs: List<StringPair>): VNodeStyle |