calls an alert message box
config | object|string|number | either an object with the alert box's configuration or the text to show |
HTMLElement | the div container of the alert box |
var box = gantt.alert({
title:"Alert",
type:"alert-error",
text:"You can't do this"
});
// or
var box = gantt.alert("This is an alert box");
For details about supported configuration options of an alert message box, see the Popup Messages and Modal Boxes article.
added in version 4.0
Back to top