From eeb8fdf8f890daeed907a6d0591ea6fae8421860 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 6 Mar 2019 13:53:58 +0100 Subject: API documentation for KVision 0.0.28 --- api/pl.treksoft.kvision.utils/-j-s-o-n/index.html | 14 ++++++++++++ api/pl.treksoft.kvision.utils/-kv-event/index.html | 14 ++++++++++++ api/pl.treksoft.kvision.utils/-object/index.html | 14 ++++++++++++ api/pl.treksoft.kvision.utils/index.html | 7 ++++++ .../kotlin.-any/create-instance.html | 15 +++++++++++++ .../kotlin.-any/index.html | 25 ++++++++++++++++++++++ api/pl.treksoft.kvision.utils/obj.html | 2 +- api/pl.treksoft.kvision.utils/sn-attrs.html | 2 +- api/pl.treksoft.kvision.utils/sn-classes.html | 2 +- api/pl.treksoft.kvision.utils/sn-opt.html | 2 +- api/pl.treksoft.kvision.utils/sn-props.html | 2 +- api/pl.treksoft.kvision.utils/sn-style.html | 2 +- 12 files changed, 95 insertions(+), 6 deletions(-) create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-any/create-instance.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-any/index.html (limited to 'api/pl.treksoft.kvision.utils') diff --git a/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html b/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html index c0e7d846..7438053a 100644 --- a/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html +++ b/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html @@ -44,5 +44,19 @@ +

Extension Functions

+ + + + + + + +
+

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

+
diff --git a/api/pl.treksoft.kvision.utils/-kv-event/index.html b/api/pl.treksoft.kvision.utils/-kv-event/index.html index 5a47c9f4..8ff7ac06 100644 --- a/api/pl.treksoft.kvision.utils/-kv-event/index.html +++ b/api/pl.treksoft.kvision.utils/-kv-event/index.html @@ -36,5 +36,19 @@ +

Extension Functions

+ + + + + + + +
+

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

+
diff --git a/api/pl.treksoft.kvision.utils/-object/index.html b/api/pl.treksoft.kvision.utils/-object/index.html index 69ec7171..eda8822d 100644 --- a/api/pl.treksoft.kvision.utils/-object/index.html +++ b/api/pl.treksoft.kvision.utils/-object/index.html @@ -24,5 +24,19 @@ +

Extension Functions

+ + + + + + + +
+

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

+
diff --git a/api/pl.treksoft.kvision.utils/index.html b/api/pl.treksoft.kvision.utils/index.html index 0f2adbdc..91fe813b 100644 --- a/api/pl.treksoft.kvision.utils/index.html +++ b/api/pl.treksoft.kvision.utils/index.html @@ -46,6 +46,13 @@ +

kotlin.Any

+ + + + + +

kotlin.Int

diff --git a/api/pl.treksoft.kvision.utils/kotlin.-any/create-instance.html b/api/pl.treksoft.kvision.utils/kotlin.-any/create-instance.html new file mode 100644 index 00000000..f9118a2d --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-any/create-instance.html @@ -0,0 +1,15 @@ + + + +createInstance - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Any / createInstance
+
+

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

+ + diff --git a/api/pl.treksoft.kvision.utils/kotlin.-any/index.html b/api/pl.treksoft.kvision.utils/kotlin.-any/index.html new file mode 100644 index 00000000..ea1e1ca1 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-any/index.html @@ -0,0 +1,25 @@ + + + +pl.treksoft.kvision.utils.kotlin.Any - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Any
+
+

Extensions for kotlin.Any

+ + + + + + + +
+

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.utils/obj.html b/api/pl.treksoft.kvision.utils/obj.html index e5255f56..14faad1d 100644 --- a/api/pl.treksoft.kvision.utils/obj.html +++ b/api/pl.treksoft.kvision.utils/obj.html @@ -9,7 +9,7 @@

obj

-fun obj(init: dynamic.() -> Unit): dynamic +inline fun obj(init: dynamic.() -> Unit): dynamic

Helper function for creating JavaScript objects.

diff --git a/api/pl.treksoft.kvision.utils/sn-attrs.html b/api/pl.treksoft.kvision.utils/sn-attrs.html index 90213acd..237573b8 100644 --- a/api/pl.treksoft.kvision.utils/sn-attrs.html +++ b/api/pl.treksoft.kvision.utils/sn-attrs.html @@ -9,7 +9,7 @@

snAttrs

-fun snAttrs(pairs: List<StringPair>): Attrs +inline fun snAttrs(pairs: List<StringPair>): Attrs

Helper function for creating attributes parameters for Snabbdom.

diff --git a/api/pl.treksoft.kvision.utils/sn-classes.html b/api/pl.treksoft.kvision.utils/sn-classes.html index 67764fc5..3fa4ba54 100644 --- a/api/pl.treksoft.kvision.utils/sn-classes.html +++ b/api/pl.treksoft.kvision.utils/sn-classes.html @@ -9,7 +9,7 @@

snClasses

-fun snClasses(pairs: List<StringBoolPair>): Classes +inline fun snClasses(pairs: List<StringBoolPair>): Classes

Helper function for creating classes parameters for Snabbdom.

diff --git a/api/pl.treksoft.kvision.utils/sn-opt.html b/api/pl.treksoft.kvision.utils/sn-opt.html index 79eb495b..f9ae5dbc 100644 --- a/api/pl.treksoft.kvision.utils/sn-opt.html +++ b/api/pl.treksoft.kvision.utils/sn-opt.html @@ -9,7 +9,7 @@

snOpt

-fun snOpt(block: VNodeData.() -> Unit): VNodeData +inline fun snOpt(noinline block: VNodeData.() -> Unit): VNodeData

Helper function for creating object parameters for Snabbdom.

diff --git a/api/pl.treksoft.kvision.utils/sn-props.html b/api/pl.treksoft.kvision.utils/sn-props.html index 5d484729..43103ee4 100644 --- a/api/pl.treksoft.kvision.utils/sn-props.html +++ b/api/pl.treksoft.kvision.utils/sn-props.html @@ -9,7 +9,7 @@

snProps

-fun snProps(pairs: List<StringPair>): Props +inline fun snProps(pairs: List<StringPair>): Props

Helper function for creating properties parameters for Snabbdom.

diff --git a/api/pl.treksoft.kvision.utils/sn-style.html b/api/pl.treksoft.kvision.utils/sn-style.html index 842351af..6182fe65 100644 --- a/api/pl.treksoft.kvision.utils/sn-style.html +++ b/api/pl.treksoft.kvision.utils/sn-style.html @@ -9,7 +9,7 @@

snStyle

-fun snStyle(pairs: List<StringPair>): VNodeStyle +inline fun snStyle(pairs: List<StringPair>): VNodeStyle

Helper function for creating style parameters for Snabbdom.

-- cgit