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.