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/-confirm/show.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'api/pl.treksoft.kvision.modal/-confirm/show.html') diff --git a/api/pl.treksoft.kvision.modal/-confirm/show.html b/api/pl.treksoft.kvision.modal/-confirm/show.html index 06d6398a..bffbfd24 100644 --- a/api/pl.treksoft.kvision.modal/-confirm/show.html +++ b/api/pl.treksoft.kvision.modal/-confirm/show.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.modal / Confirm / show

show

- -fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: (() -> Unit)? = null, yesCallback: (() -> 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, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: (() -> Unit)? = null, yesCallback: (() -> Unit)? = null): Unit

Helper function for opening Confirm 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

cancelVisible - determines if Cancel button is visible

-- cgit