diff options
author | Robert Jaros <rjaros@users.noreply.github.com> | 2020-04-29 10:56:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 10:56:06 +0200 |
commit | 14c3ebc7f4aa9756655bbfd2bf5ed00f2ae11012 (patch) | |
tree | 82ad7ad34871c259658398bfa46932fa8ea1e504 /kvision-modules/kvision-bootstrap-dialog | |
parent | d45d14cbe62fff32c9f1c44f90e6bf66ddc2304e (diff) | |
parent | 9fbc710662e398199ba0082cbd3add9aa22c16a3 (diff) | |
download | kvision-14c3ebc7f4aa9756655bbfd2bf5ed00f2ae11012.tar.gz kvision-14c3ebc7f4aa9756655bbfd2bf5ed00f2ae11012.tar.bz2 kvision-14c3ebc7f4aa9756655bbfd2bf5ed00f2ae11012.zip |
Merge pull request #151 from bmalkow/master
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 |