AlertPlugin ⇒ Weavy.plugins.alert
Instance members
weavy.alert(message, [sticky])
Displays an alert.
Kind: instance method ofAlertPlugin
Param | Default | Description |
---|---|---|
message : string
| The message to display |
|
[sticky : boolean
] | false | Should the alert be sticky and not dismissable? |
weavy.alert("Weavy is awesome!", true);
Static members
.defaults : Object
Default plugin options
Kind: static property ofAlertPlugin
Properties
Name | Default | Description |
---|---|---|
[className : string
] | "weavy-alert-message fade in" | Default classes for the alerts |
Weavy.plugins.alert.defaults = {
className: "weavy-alert-message fade in"
};