Try loading as AMD module or fall back to default loading
The actual widget class
defaultOptions
Default options for the widget
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 close button, specified using the data-role="close"
attribute,
or auto-generated
Create elements required by the structure if they are not present
Handle escape key press
Handle space key press
Handle enter key press
Cleanup the widget and remove remaining references
Install the widget into the JS library
Alert
The
Alert
class provides a simple disposable alert message.author: Julien Ramboz version: 1.0 usage: Alert examples