New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bootstrap-show-modal

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-show-modal - npm Package Compare versions

Comparing version 1.1.11 to 1.1.12

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc