app/core/base.js
function (options) {
    options = Object.assign({
      msg: 'Notification Event Triggered!',
      type: 'info',
      escape: true,
      clear: false
    }, options);

    if (FauxtonAPI.reduxDispatch) {
      FauxtonAPI.reduxDispatch({
        type: 'ADD_NOTIFICATION',
        options: {
          info: options
        }
      });
    }
  }
function (options) {
    options = Object.assign({
      msg: 'Notification Event Triggered!',
      type: 'info',
      escape: true,
      clear: false
    }, options);

    if (FauxtonAPI.reduxDispatch) {
      FauxtonAPI.reduxDispatch({
        type: 'ADD_NOTIFICATION',
        options: {
          info: options
        }
      });
    }
  }
function ( options ) { options = Object . assign ( { msg : 'Notification Event Triggered!' , type : 'info' , escape : true , clear : false } , options ) ; if ( FauxtonAPI . reduxDispatch ) { FauxtonAPI . reduxDispatch ( { type : 'ADD_NOTIFICATION' , options : { info : options } } ) ; } }
Displays a notification message. The message is only displayed for a few seconds.
The option visibleTime can be provided to set for how long the message should be displayed.

@param {object} options Options are of the form
{
message: "string",
type: "success"|"error"|"info",
clear: true|false,
escape: true|false,
visibleTime: number
}
Displays a notification message . The message is only displayed for a few seconds . The option visibleTime can be provided to set for how long the message should be displayed .