Notification
patternfly.notification
Notification service used to notify user about important events in the application.
You can configure the service with: setDelay, setVerbose and setPersist.
Set the delay after which the notification is dismissed. The argument of this method expects miliseconds. Default delay is 5000 ms.
Set the verbose mode to on (default) or off. During the verbose mode, each notification is printed in the console, too. This is done using the default angular.js $log service.
Sets persist option for particular modes. Notification with persistent mode won't be dismissed after delay, but has to be closed manually with the close button. By default, the "error" and "httpError" modes are set to persistent. The input is an object in format {mode: persistValue}.
angular.module('myApp', []).config(function (NotificationsProvider) {
NotificationsProvider.setDelay(10000).setVerbose(false).setPersist({'error': true, 'httpError': true, 'warn': true});
});