confirmAlert

inline fun confirmAlert(content: String = "", vararg buttonTypes: ButtonType = arrayOf(YES, NO), configuration: Alert.() -> Unit): Optional<ButtonType>

Show a confirmation alert.

Return

selected alert button.

Parameters

content

alert message.

buttonTypes

alert buttons.

configuration

custom dialog action.