Confirm
open class Confirm(caption: String?, text: String?, rich: Boolean, align: <ERROR CLASS>?, size: ModalSize?, animation: Boolean, centered: Boolean, cancelVisible: Boolean, yesTitle: String, noTitle: String, cancelTitle: String, noCallback: () -> Unit?, yesCallback: () -> Unit?) : Modal
Content copied to clipboard
Confirm window based on Bootstrap modal.
Parameters
caption
window title
text
window content text.
rich
determines if text can contain HTML code
align
text align
size
modal window size
animation
determines if animations are used
centered
determines if modal dialog is vertically centered
cancel Visible
determines if Cancel button is visible
yes Title
yes button text
no Title
no button text
cancel Title
cancel button text
no Callback
a function called after closing window with No button
yes Callback
a function called after closing window with Yes button
Constructors
Confirm
Link copied to clipboard
fun Confirm(caption: String? = null, text: String? = null, rich: Boolean = false, align: <ERROR CLASS>? = null, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: () -> Unit? = null, yesCallback: () -> Unit? = null)
Content copied to clipboard
Types
Functions
after Insert
Link copied to clipboard
build Class Set
Link copied to clipboard
clear Parent
Link copied to clipboard
dispose All
Link copied to clipboard
get Children
Link copied to clipboard
hide Bootstrap
Link copied to clipboard
Hide modal window with Bootstrap function.
remove All Buttons
Link copied to clipboard
Removes all buttons from the bottom section of dialog window.
remove Button
Link copied to clipboard
Removes given button from the bottom section of dialog window.
show Bootstrap
Link copied to clipboard
Show modal window with Bootstrap function.
Properties
cancelTitle
Link copied to clipboard
cancelVisible
Link copied to clipboard
closeButton
Link copied to clipboard
scrollable
Link copied to clipboard