diff options
author | Bartosz Malkowski <bmalkowski@tigase.pl> | 2020-04-29 10:20:10 +0200 |
---|---|---|
committer | Bartosz Malkowski <bmalkowski@tigase.pl> | 2020-04-29 10:20:10 +0200 |
commit | 9fbc710662e398199ba0082cbd3add9aa22c16a3 (patch) | |
tree | 82ad7ad34871c259658398bfa46932fa8ea1e504 /kvision-modules/kvision-bootstrap-dialog | |
parent | d45d14cbe62fff32c9f1c44f90e6bf66ddc2304e (diff) | |
download | kvision-9fbc710662e398199ba0082cbd3add9aa22c16a3.tar.gz kvision-9fbc710662e398199ba0082cbd3add9aa22c16a3.tar.bz2 kvision-9fbc710662e398199ba0082cbd3add9aa22c16a3.zip |
Add property to scrolling long content in Modal
Diffstat (limited to 'kvision-modules/kvision-bootstrap-dialog')
-rw-r--r-- | kvision-modules/kvision-bootstrap-dialog/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvision-modules/kvision-bootstrap-dialog/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt b/kvision-modules/kvision-bootstrap-dialog/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt index 511dfd00..45b3a008 100644 --- a/kvision-modules/kvision-bootstrap-dialog/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt +++ b/kvision-modules/kvision-bootstrap-dialog/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt @@ -40,9 +40,9 @@ import kotlin.coroutines.resume */ open class Dialog<R>( caption: String? = null, closeButton: Boolean = true, - size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, escape: 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 -) : Modal(caption, closeButton, size, animation, escape, centered, classes) { +) : Modal(caption, closeButton, size, animation, escape, centered, scrollable, classes) { internal var resultCallback: ((R?) -> Unit)? = null |