mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
Triggering 'cloudStack.addNotification' adds a new UI notification, to
avoid having to specify DOM element containing the jQuery widget every
time. This event accepts same args as .notifications('add', ...)
Example:
$(window).trigger('cloudStack.addNotification', {
desc: 'Description',
interval: 1000,
poll: function(args) {
...
args.complete();
}
});