kvision / pl.treksoft.kvision.cordova / Notification / alert

alert

fun alert(message: String, title: String? = null, buttonLabel: String? = null, callback: () -> Unit): Unit

Show alert dialog.

Parameters

message - a message

title - an optional dialog title (defaults to Alert)

buttonLabel - an optional button label (defaults to OK)

callback - a callback function