close()
closes a message box
close(): void;
Example
const message = dhx.message({
text:"Message text",
icon:"dxi-clock",
css:"expire",
expire:1000
});
message.close();
Change log: Added in v8.0
Related sample: Message. Show Message
Related article: Message box configuration