warningAlert

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

Show a warning alert.

Return

selected alert button.

Parameters

content

alert message.

buttonTypes

alert buttons.

configuration

custom dialog action.