Class: macOSNotifJS

macOSNotifJS(options)

The main notification class

Constructor

new macOSNotifJS(options)

Create a new instance of the notification
Parameters:
Name Type Description
options Object The options to apply to the notification (see source __defaultOptions)
Source:

Members

subtitle

Gets the current subtitle of the notification
Source:

subtitle

Allows the subtitle of the notification to be updated
Source:

theme

Gets the current theme for the notification
Source:

theme

Sets a new theme for the notification
Source:

title

Allows the title of the notification to be updated
Source:

title

Gets the current title of the notification
Source:

Methods

(static) dismissAll()

Dismiss all active notifications
Source:

dismiss()

Dismiss this notification
Source:

run()

Runs the notification!
Source: