Skip to main content

confirm

Description

Calls a confirm message box

confirm: (config: any) => HTMLElement

Parameters

  • config - (required) object - the confirm box's configuration

Returns

  • div - (HTMLElement) - the div container of the confirm box

Example

var box = scheduler.confirm({
text: "Continue?",
ok:"Yes",
cancel:"No",
callback: function(result){
if(result){
scheduler.message("Yes!");
}else{
scheduler.message("No...");
}
}
});

Details

For details about the supported configuration options of a confirm message box, see the Popup Messages and Modal Boxes article.

Change log

  • added in version 6.0
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.