show Confirm
fun showConfirm(message: String, title: String? = null, buttonLabels: List<String>? = null, primaryButtonIndex: Int? = null, cancelable: Boolean = false, animation: Boolean = true, id: String? = null, className: String? = null, modifier: String? = null, maskColor: String? = null, callback: () -> Unit? = null): <Error class: unknown class><Int>
Displays confirm notification.
Parameters
message
a notification message
title
a window title
button Labels
labels of the buttons
primary Button Index
an index of the default button
cancelable
whether the notification can be cancelled
animation
whether the notification is animated
id
the id of the notification HTML element
class Name
the CSS class of the notification HTML element
modifier
a modifier attribute to specify custom styles
mask Color
a color of the background mask
callback
a callback function called after the dialog has been closed