Try loading as AMD module or fall back to default loading
The actual widget class
Default options for the widget
timeout
: the time after which the notification will be removed (in ms)
wrapper
: id of the wrapper element
sticky
: whether the notification is a sticky and thus
cannot be removed
Initializer function.
Add aria attributes
Attach evenets to the widget
Remove the notification
Remove the notification
Find the widget structure using the specified configuration
Find the wrapper for the notifications, using the selector
specified using the wrapper
option
Create elements required by the structure if they are not present
Cleanup the widget and remove remaining references
Install the widget into the JS library
Notification
The
Notification
class provides a simple notification widget.author: Julien Ramboz version: 1.0 usage: Notification examples