modalbox

calls a modalbox

HTMLElement modalbox(object config);

Parameters

configobjectthe modal box's configuration

Returns

HTMLElementthe div container of the modalbox

Example

var box = gantt.modalbox({
    title: "Close",
    type: "alert-warning"
});

Details

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

See also
Change log

added in version 4.0

Back to top