diff options
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/utils')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt b/src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt index ccb11ff9..7bb18a58 100644 --- a/src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt +++ b/src/main/kotlin/pl/treksoft/kvision/utils/Snabbdom.kt @@ -56,6 +56,8 @@ private fun vNodeData(): VNodeData = js("({})") */ interface KvJQueryEventObject : JQueryEventObject { val clickedIndex: Int + val width: Int + val height: Int } /** @@ -100,6 +102,7 @@ interface BtOn : On { var fileResetUpload: ((KvEvent) -> kotlin.Unit)? var fileBrowseUpload: ((KvEvent) -> kotlin.Unit)? var filePreUpload: ((KvEvent) -> kotlin.Unit)? + var resizeWindow: ((KvEvent) -> kotlin.Unit)? } /** |