show Prompt
fun showPrompt(message: String, title: String? = null, defaultValue: String? = null, placeholder: String? = null, inputType: String? = null, buttonLabels: List<String>? = null, primaryButtonIndex: Int? = null, autofocus: Boolean = true, submitOnEnter: Boolean = true, 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><String?>
Displays prompt notification.
Parameters
message
a notification message
title
a window title
default Value
a default value for the input
placeholder
a placeholder for the input
input Type
an input type
button Labels
labels of the buttons
primary Button Index
an index of the default button
autofocus
whether the input element is focused
submit On Enter
close automatically when the ENTER key is pressed
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