bootstrap-multimodal

WebJar for bootstrap-multimodal

License

License

MIT
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

bootstrap-multimodal
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

bootstrap-multimodal
WebJar for bootstrap-multimodal
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/jhaygt/bootstrap-multimodal

Download bootstrap-multimodal

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/bootstrap-multimodal/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>bootstrap-multimodal</artifactId>
    <version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/bootstrap-multimodal/
implementation 'org.webjars.bower:bootstrap-multimodal:1.0.4'
// https://jarcasting.com/artifacts/org.webjars.bower/bootstrap-multimodal/
implementation ("org.webjars.bower:bootstrap-multimodal:1.0.4")
'org.webjars.bower:bootstrap-multimodal:jar:1.0.4'
<dependency org="org.webjars.bower" name="bootstrap-multimodal" rev="1.0.4">
  <artifact name="bootstrap-multimodal" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='bootstrap-multimodal', version='1.0.4')
)
libraryDependencies += "org.webjars.bower" % "bootstrap-multimodal" % "1.0.4"
[org.webjars.bower/bootstrap-multimodal "1.0.4"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

bootstrap-multimodal

A Bootstrap plugin that adds support for multiple open modals.

View demo

Install with npm

npm install bootstrap-multimodal

Install with bower

bower install bootstrap-multimodal

Usage

Simply include js/multimodal.js (or the minified version).

That's it! You don't have to make any calls to initiate the behavior.

Override behavior

If you need to override or prevent the behavior on certain modals, add an event listener for the show.bs.modal and hidden.bs.modal events and either return false or call stopPropagation on the event.

$('#my-modal').on('show.bs.modal', function(e) {
    e.stopPropagation();
});

$('#my-modal').on('hidden.bs.modal', function(e) {
    e.stopPropagation();
});

Versions

Version
1.0.4