
window.confirm()
function in web browser JavaScript. The popup is
modal.
API
TypeScript
Options
The title of the confirm pop-up.
The text of the confirm pop-up.
The label for the confirm button.Defaults to
"OK".The label for the cancel button.Defaults to
"Cancel".The style of the confirm button.Defaults to
"primary".