Package-level declarations

Functions

Link copied to clipboard
external fun alert(message: String)

window.alert() instructs the browser to display a dialog with an optional message, and to wait until the user dismisses the dialog.

Link copied to clipboard
external fun confirm(message: String): Boolean

window.confirm() instructs the browser to display a dialog with an optional message, and to wait until the user either confirms or cancels the dialog.

Link copied to clipboard
external fun prompt(message: String, default: String = definedExternally): String?

window.prompt() instructs the browser to display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog.