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.modal/-alert/show.html | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 api1/pl.treksoft.kvision.modal/-alert/show.html (limited to 'api1/pl.treksoft.kvision.modal/-alert/show.html') diff --git a/api1/pl.treksoft.kvision.modal/-alert/show.html b/api1/pl.treksoft.kvision.modal/-alert/show.html new file mode 100644 index 00000000..71d10bc4 --- /dev/null +++ b/api1/pl.treksoft.kvision.modal/-alert/show.html @@ -0,0 +1,30 @@ + + + +Alert.show - kvision + + + +kvision / pl.treksoft.kvision.modal / Alert / show
+
+

show

+ +fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: (() -> Unit)? = null): Unit +

Helper function for opening Alert window.

+

Parameters

+

+caption - window title

+

+text - window content text.

+

+rich - determines if text can contain HTML code

+

+align - text align

+

+size - modal window size

+

+animation - determines if animations are used

+

+callback - a function called after closing window with OK button

+ + -- cgit