From 9d35bb1e3d8186228cc409faa6d681624f20e9cd Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 26 Nov 2019 19:53:45 +0100 Subject: API documentation for KVision 2.4.0 --- api/pl.treksoft.kvision.modal/-alert/show.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'api/pl.treksoft.kvision.modal/-alert/show.html') diff --git a/api/pl.treksoft.kvision.modal/-alert/show.html b/api/pl.treksoft.kvision.modal/-alert/show.html index 71d10bc4..1c21cc29 100644 --- a/api/pl.treksoft.kvision.modal/-alert/show.html +++ b/api/pl.treksoft.kvision.modal/-alert/show.html @@ -8,8 +8,8 @@ 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 + +fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, callback: (() -> Unit)? = null): Unit

Helper function for opening Alert window.

Parameters

@@ -17,13 +17,15 @@

text - window content text.

-rich - determines if text can contain HTML code

+rich - determines if text can contain HTML code

align - text align

size - modal window size

animation - determines if animations are used

+

+centered - determines if modal dialog is vertically centered

callback - a function called after closing window with OK button

-- cgit