From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- api1/pl.treksoft.kvision.hmr/-hot/index.html | 61 ++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 api1/pl.treksoft.kvision.hmr/-hot/index.html (limited to 'api1/pl.treksoft.kvision.hmr/-hot/index.html') diff --git a/api1/pl.treksoft.kvision.hmr/-hot/index.html b/api1/pl.treksoft.kvision.hmr/-hot/index.html new file mode 100644 index 00000000..440b722a --- /dev/null +++ b/api1/pl.treksoft.kvision.hmr/-hot/index.html @@ -0,0 +1,61 @@ + + + +Hot - kvision + + + +kvision / pl.treksoft.kvision.hmr / Hot
+
+

Hot

+external interface Hot +

Helper interface for Hot Module Replacement (HMR).

+

Properties

+ + + + + + + +
+

data

+
+abstract val data: dynamic
+

Functions

+ + + + + + + + + + + +
+

accept

+
+abstract fun accept(): Unit
+abstract fun accept(dependency: String, callback: () -> Unit): Unit
+abstract fun accept(dependencies: Array<String>, callback: (updated: Array<String>) -> Unit): Unit
+

dispose

+
+abstract fun dispose(callback: (dynamic) -> Unit): Unit
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + -- cgit