From 3aa601efa75efcc69b72340e87bfb626197e7e3a Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 2 May 2020 00:52:30 +0200 Subject: API documentation for KVision 3.7.3 --- api/alltypes/index.html | 5 ++ api/index-outline.html | 44 ++++++++++++-- .../-date-time-input/index.html | 8 +++ .../-date-time-input/input.html | 14 +++++ api/pl.treksoft.kvision.modal/-dialog/-init-.html | 6 +- api/pl.treksoft.kvision.modal/-dialog/index.html | 2 +- api/pl.treksoft.kvision.modal/-modal/-init-.html | 6 +- api/pl.treksoft.kvision.modal/-modal/index.html | 11 +++- .../-modal/scrollable.html | 15 +++++ .../-observable-state/index.html | 9 +++ .../-observable-value/-init-.html | 18 ++++++ .../-observable-value/get-state.html | 15 +++++ .../-observable-value/index.html | 68 ++++++++++++++++++++++ .../-observable-value/subscribe.html | 15 +++++ .../-observable-value/value.html | 21 +++++++ api/pl.treksoft.kvision.state/index.html | 9 +++ 16 files changed, 256 insertions(+), 10 deletions(-) create mode 100644 api/pl.treksoft.kvision.form.time/-date-time-input/input.html create mode 100644 api/pl.treksoft.kvision.modal/-modal/scrollable.html create mode 100644 api/pl.treksoft.kvision.state/-observable-value/-init-.html create mode 100644 api/pl.treksoft.kvision.state/-observable-value/get-state.html create mode 100644 api/pl.treksoft.kvision.state/-observable-value/index.html create mode 100644 api/pl.treksoft.kvision.state/-observable-value/subscribe.html create mode 100644 api/pl.treksoft.kvision.state/-observable-value/value.html diff --git a/api/alltypes/index.html b/api/alltypes/index.html index 5fc4764a..b225ecc9 100644 --- a/api/alltypes/index.html +++ b/api/alltypes/index.html @@ -1749,6 +1749,11 @@ performance is O(1) and for cache eviction, it is O(1).

An interface of observable state.

+(js) +
pl.treksoft.kvision.state.ObservableValue
+

The observable value class.

+ +
pl.treksoft.kvision.types.OffsetDateTime
diff --git a/api/index-outline.html b/api/index-outline.html index 9517aa65..de81069f 100644 --- a/api/index-outline.html +++ b/api/index-outline.html @@ -4018,6 +4018,7 @@ fun getValueAsString(): String?
open fun hidePopup(): Unit
var ignoreReadonly: Boolean
+val input: TextInput
var maxDate: Date?
var minDate: Date?
open var name: String?
@@ -4217,7 +4218,7 @@ -Dialog(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, escape: Boolean = true, classes: Set<String> = setOf(), init: (Dialog<R>.() -> Unit)? = null)
+Dialog(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, scrollable: Boolean = false, escape: Boolean = true, classes: Set<String> = setOf(), init: (Dialog<R>.() -> Unit)? = null)
suspend fun getResult(): R?
open fun hide(): Widget
open fun setResult(result: R?): Unit
@@ -8003,7 +8004,7 @@ -Modal(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, escape: Boolean = true, classes: Set<String> = setOf(), init: (Modal.() -> Unit)? = null)
+Modal(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, scrollable: Boolean = false, escape: Boolean = true, classes: Set<String> = setOf(), init: (Modal.() -> Unit)? = null)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
open fun addButton(button: Button): Modal
@@ -8022,6 +8023,7 @@ open fun removeAll(): SimplePanel
open fun removeAllButtons(): Modal
open fun removeButton(button: Button): Modal
+var scrollable: Boolean
var size: ModalSize?
open fun toggle(): Unit
@@ -8647,6 +8649,22 @@ +class ObservableValue<T> : ObservableState<T>
+ OffsetDateTime