Building Extensions
Contributing Languages
JavaScript API Reference

NotificationCenter

Dispatching unubtrusive requests and notices to the user

The NotificationCenter class is used to manage notifications presented to the user by an extension. A shared instance is always available as the nova.notifications environment property.

Methods

add(request)

Adds a NotificationRequest object to be displayed to the user.

cancel(identifier)

Cancels any pending or displayed notifications with the specified identifier.