Module: notifications

Methods

(inner) clear()

Clear notification area
Source:

(inner) createNotification(title, options)

Make notification element
Parameters:
Name Type Description
title string title of notification
options Object notification settings
Source:

(inner) focusWindow()

Open browser window if collapsed
Source:

(inner) makeNotificationOptions(title, body)

Return taken title and body and make default options object
Parameters:
Name Type Description
title string title of notification
body string notification body
Source:

(inner) playNotificationSound()

Play light.mp3 sound
Source:

(inner) sendInside(text)

Send ready notification
Parameters:
Name Type Description
text string text of notification
Source:

(inner) sendNotification(title, body)

Send ready notification
Parameters:
Name Type Description
title string title of notification
body string notification body
Source:

(inner) sendPrompt(text, acceptCallback)

Send ready notification with prompt
Parameters:
Name Type Description
text string text of notification
acceptCallback function function on accept
Source: