Minimal Customizable JavaScript Alert/Confirm Replacement Plugin | RoarJS

JavaScript-Alert-Confirm-Replacement

RoarJS is a cool, responsive, customizable, accessible alert, no dependency, vanilla javascript alert/replacement confirmation. It looks great regardless of whether you are using a desktop computer, mobile or tablet device.

custom javascript alert and confirm dialog boxes, javascript confirm replacement, bootstrap confirm dialog, custom confirm box in jquery, bootstrap alert javascript plugin

How to make use of it:

1. Import the stylesheet ‘roar.min.css’ and JavaScript ‘roar.min.js’ into the doc.

<link rel="stylesheet" href="dist/roar.min.css">
<script src="dist/roar.min.js"></script>

2. Create a default alert dialog.

roar('Alert Title', 'Alert Message Here');

3. Create an affirmation dialog with confirming/cancel callbacks.

roar('Confirm Title', 'Confirm Message Here',{

  // shows cancel button
  cancel: true,

  // cancel text
  cancelText: 'cancel',

  // cancel callback
  cancelCallBack: function (event) {
    console.log('options.cancelCallBack');
  },

  // shows confirm button
  confirm: true,

  // confirm text
  confirmText: 'confirm',

  // confirm callback
  confirmCallBack: function (event) {
    console.log('options.confirmCallBack');
  }
  
});

Minimal Customizable Alert/Confirm Dialog Plugin, Javascript Alert Confirm Prompt, Modal Banner with Roar.js, jquery confirm wait for response, jquery confirm box with custom buttons


See Demo And Download

Official Website(wolffe): Click Here

This superior jQuery/javascript plugin is developed by wolffe. For extra Advanced Usages, please go to the official website.