ReactionAlerts

ReactionAlerts - Shows a popup alert, extends Bootstrap Alerts and adds more alert types. See Bootstrap Alert documentation: https://getbootstrap.com/docs/3.3/components/#alerts

Source:

Methods

(inner) alert(titleOrOptions, messageOrCallback, options, callback) → {string}

Show a popup alert

.

Source:

Show a popup alert

Example
// Simple
Alerts.alert("title", "message", {}, callbackFunction);
// - OR, for more control -
Alerts.alert({
  title: "Title",
  text: "Message Text",
  type: "success|info|warning|error|"
}, callbackFunction);
Parameters:
Name Type Description
titleOrOptions string | object

Pass a string or an object containing options

messageOrCallback string

[description]

options string

[description]

callback function

[description]

Returns:

[description]

Type
string