diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/KVManager.kt | 4 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt | 16 |
2 files changed, 20 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/KVManager.kt b/src/main/kotlin/pl/treksoft/kvision/KVManager.kt index 1cd41e7d..30adf285 100644 --- a/src/main/kotlin/pl/treksoft/kvision/KVManager.kt +++ b/src/main/kotlin/pl/treksoft/kvision/KVManager.kt @@ -57,6 +57,10 @@ object KVManager { require("kvision-kvision-fontawesome").pl.treksoft.kvision.KVManagerFontAwesome } catch (e: Throwable) { } + try { + require("kvision-kvision-onsenui-css").pl.treksoft.kvision.KVManagerOnsenuiCss + } catch (e: Throwable) { + } require("./css/style.css") require("jquery-resizable-dom") } diff --git a/src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt b/src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt index 768ce8aa..aac0dea2 100644 --- a/src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt +++ b/src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt @@ -136,6 +136,22 @@ interface BtOn : On { var tabChange: ((KvEvent) -> Unit)? var tabClosing: ((KvEvent) -> Unit)? var tabClosed: ((KvEvent) -> Unit)? + var onsPrepush: ((KvEvent) -> Unit)? + var onsPrepop: ((KvEvent) -> Unit)? + var onsPostpush: ((KvEvent) -> Unit)? + var onsPostpop: ((KvEvent) -> Unit)? + var onsInit: ((KvEvent) -> Unit)? + var onsShow: ((KvEvent) -> Unit)? + var onsHide: ((KvEvent) -> Unit)? + var onsDestroy: ((KvEvent) -> Unit)? + var onsPreopen: ((KvEvent) -> Unit)? + var onsPreclose: ((KvEvent) -> Unit)? + var onsPostopen: ((KvEvent) -> Unit)? + var onsPostclose: ((KvEvent) -> Unit)? + var onsModechange: ((KvEvent) -> Unit)? + var onsPrechange: ((KvEvent) -> Unit)? + var onsPostchange: ((KvEvent) -> Unit)? + var onsReactive: ((KvEvent) -> Unit)? } /** |