Trying to edit the style of notifications


#1

I was wondering if it’s possible to create a notification. I’m trying to style them but i’m not sure how to force a specific type of notification to pop up. the only two i’ve been able to get to come up are success notifications and info notifications.


#2

Take a look at the NotificationManager API Page. You should be able to initiate a notification from the developer tools window.


#3

I’m not sure i understand. :frowning:


#4

The :: denotes that they are methods or properties of an instance of the class. In your case, you would do:

atom.notifications.addFatalError('test');

(since atom.notifications is a global instance of a NotificationManager)