kvision / pl.treksoft.kvision.cordova / Notification / confirm

confirm

(js) fun confirm(message: String, title: String? = null, buttonLabels: List<String>? = null, callback: (Int) -> Unit): Unit

Show confirm dialog.

Parameters

message - a message

title - an optional dialog title (defaults to Confirm)

buttonLabels - an optional list of button labels (defaults to OK,Cancel)

callback - a callback function