message

calls a message box of the specified type

HTMLElement message(object config);

Parameters

configobjectthe message box's configuration

Returns

HTMLElementthe div container of the message box

Example

var box = gantt.message({ 
    type:"confirm-warning", 
    text:"Are you sure you want to do it?"
});

See also
Change log

added in version 4.0

Back to top