From 3aa601efa75efcc69b72340e87bfb626197e7e3a Mon Sep 17 00:00:00 2001
From: Robert Jaros
<init>
-(js)
-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)
+(js)
+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)
Parameters
@@ -21,6 +21,8 @@
animation - determines if animations are used
centered - determines if modal dialog is vertically centered
+scrollable - determines if modal dialog content is scrollable
escape - determines if dialog can be closed with Esc key
diff --git a/api/pl.treksoft.kvision.modal/-modal/index.html b/api/pl.treksoft.kvision.modal/-modal/index.html index 970b138f..abd078ef 100644 --- a/api/pl.treksoft.kvision.modal/-modal/index.html +++ b/api/pl.treksoft.kvision.modal/-modal/index.html @@ -19,7 +19,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)
@@ -73,6 +73,15 @@
Determines if modal body is scrollable.
+var scrollable: Booleanvar scrollable: Boolean
+Determines if modal body is scrollable.
+ + -- cgit