confirm
Description
Öffnet eine confirm Messagebox
confirm: (config: any) => HTMLElement
Parameters
config- (required) object - die Einstellungen für die confirm Box
Returns
div- (HTMLElement) - das div-Element, das die confirm Box enthält
Example
var box = scheduler.confirm({
text: "Continue?",
ok:"Yes",
cancel:"No",
callback: function(result){
if(result){
scheduler.message("Yes!");
}else{
scheduler.message("No...");
}
}
});
Details
Weitere Informationen zu den verfügbaren Konfigurationsoptionen für eine confirm Messagebox finden Sie im Artikel Popup-Nachrichten und Modale Fenster.
Related API
Related Guides
Change log
- hinzugefügt 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.