aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-bootstrap-dialog
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-04-29 11:01:49 +0200
committerRobert Jaros <rjaros@finn.pl>2020-04-29 11:01:49 +0200
commitacfe0b32d713a16653cf2fe0a4b3329261763f57 (patch)
tree756aa8a762c1fae6ad0e22fcc5be6e0c1d5bf8b6 /kvision-modules/kvision-bootstrap-dialog
parent14c3ebc7f4aa9756655bbfd2bf5ed00f2ae11012 (diff)
downloadkvision-acfe0b32d713a16653cf2fe0a4b3329261763f57.tar.gz
kvision-acfe0b32d713a16653cf2fe0a4b3329261763f57.tar.bz2
kvision-acfe0b32d713a16653cf2fe0a4b3329261763f57.zip
Some style fixes and missing comments.
Diffstat (limited to 'kvision-modules/kvision-bootstrap-dialog')
-rw-r--r--kvision-modules/kvision-bootstrap-dialog/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt4
1 files changed, 3 insertions, 1 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 45b3a008..a7482429 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
@@ -35,12 +35,14 @@ import kotlin.coroutines.resume
* @param animation determines if animations are used
* @param escape determines if dialog can be closed with Esc key
* @param centered determines if modal dialog is vertically centered
+ * @param scrollable determines if modal dialog content is scrollable
* @param classes a set of CSS class names
* @param init an initializer extension function
*/
open class Dialog<R>(
caption: String? = null, closeButton: Boolean = true,
- size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, scrollable: 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, scrollable, classes) {