From acfe0b32d713a16653cf2fe0a4b3329261763f57 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 29 Apr 2020 11:01:49 +0200 Subject: Some style fixes and missing comments. --- .../src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kvision-modules/kvision-bootstrap-dialog/src/main/kotlin/pl') 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( 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 = setOf(), init: (Dialog.() -> Unit)? = null ) : Modal(caption, closeButton, size, animation, escape, centered, scrollable, classes) { -- cgit