NOTY have 5 callback option for now. onShow - afterShow - onClose - afterClose - afterCloseClick
var n = noty({text: 'Hi!'}); console.log($.noty.get(n.id)); // Returns a NOTY javascript object console.log(n); // Returns a NOTY javascript object $.noty.close(n.id); // Close a NOTY n.close(); // same as above $.noty.setText(n.id, 'Hi again!'); // Notification text updater n.setText('Hi again!'); // same as above $.noty.setType(n.id, 'error'); // Notification type updater n.setType('error'); // same as above $.noty.clearQueue(); // Clears the notification queue $.noty.closeAll(); // Close all notifications