calls a message box of the specified type
config | object|string|number | either an object with the message box's configuration or the text to show |
HTMLElement | the div container of the message box |
let box = gantt.message({
type:"confirm-warning",
text:"Are you sure you want to do it?"
});
// or
box = gantt.message("This is the message");
For details about supported configuration options of a message box, see the Popup Messages and Modal Boxes article.
added in version 4.0
Back to top