bootstrap-show-modal
Advanced tools
Comparing version 1.1.11 to 1.1.12
{ | ||
"name": "bootstrap-show-modal", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"description": "jQuery plugin to create bootstrap 4 modals in pure JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "src/bootstrap-show-modal.js", |
@@ -17,3 +17,3 @@ # bootstrap-show-modal | ||
### Simple | ||
### Simple Modal | ||
```javascript | ||
@@ -23,8 +23,8 @@ $.showModal({title: "Hello World!", body: "A very simple modal dialog without buttons."}) | ||
### Alert with fade effect | ||
### Alert Dialog | ||
```javascript | ||
$.showAlert({modalClass: "fade", title: "Hi", body: "Please press ok, if you like or dislike cookies."}) | ||
$.showAlert({title: "Hi", body: "Please press ok, if you like or dislike cookies."}) | ||
``` | ||
### Confirm | ||
### Confirm Dialog | ||
```javascript | ||
@@ -53,3 +53,3 @@ $.showConfirm({ | ||
footer: "", // the dialog footer html (mainly used for buttons) | ||
modalClass: "", // Additional css for ".modal", like "fade" for fade effect | ||
modalClass: "fade", // Additional css for ".modal", "fade" for fade effect | ||
modalDialogClass: "", // Additional css for ".modal-dialog", like "modal-lg" or "modal-sm" for sizing | ||
@@ -56,0 +56,0 @@ options: null, // The Bootstrap modal options as described here: https://getbootstrap.com/docs/4.0/components/modal/#options |
17892