From 2febd99a43e367e7100e9fc21bd6eef1cd1ea47e Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 13 Jul 2019 02:13:41 +0200 Subject: API documentation for KVision 0.0.38 --- .../-observable-list/index.html | 63 ++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 api/pl.treksoft.kvision.utils/-observable-list/index.html (limited to 'api/pl.treksoft.kvision.utils/-observable-list/index.html') diff --git a/api/pl.treksoft.kvision.utils/-observable-list/index.html b/api/pl.treksoft.kvision.utils/-observable-list/index.html new file mode 100644 index 00000000..07b47de8 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list/index.html @@ -0,0 +1,63 @@ + + + +ObservableList - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableList
+
+

ObservableList

+interface ObservableList<T> : MutableList<T> +

Observable list interface.

+

Properties

+ + + + + + + +
+

onUpdate

+
+abstract val onUpdate: MutableCollection<(MutableList<T>) -> Unit>
+

Extension Functions

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

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

+
+

syncWithList

+
+fun <T> MutableList<T>.syncWithList(list: List<T>): Unit +

Utility extension function to synchronise elements of the MutableList.

+
+

Inheritors

+ + + + + + + +
+

ObservableListWrapper

+
+class ObservableListWrapper<T> : MutableList<T>, ObservableList<T> +

Simple observable list implementation.

+
+ + -- cgit