Gathering detailed insights and metrics for ng2-bs3-modal-born2net
Gathering detailed insights and metrics for ng2-bs3-modal-born2net
Gathering detailed insights and metrics for ng2-bs3-modal-born2net
Gathering detailed insights and metrics for ng2-bs3-modal-born2net
npm install ng2-bs3-modal-born2net
Typescript
Module System
Node Version
NPM Version
TypeScript (57.05%)
HTML (28.1%)
JavaScript (14.85%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
ISC License
37 Commits
1 Forks
2 Watchers
3 Branches
1 Contributors
Updated on Mar 10, 2016
Latest Version
0.2.17
Package Id
ng2-bs3-modal-born2net@0.2.17
Size
30.08 kB
NPM Version
2.15.1
Node Version
4.4.3
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Angular2 Bootstrap3 Modal Component
http://dougludlow.github.io/ng2-bs3-modal/
ng2-bs3-modal
depends on bootstrap which depends on jquery, you'll need to include both scripts before ng2-bs3-modal:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.js"></script>
Or, if you're using systemjs, configure it to load them. And import them in your typscript.
npm install ng2-bs3-modal
Include a reference to the bundle in your html
<script src="node_modules/ng2-bs3-modal/bundles/ng2-bs3-modal.js"></script>
Or if you're using SystemJS, add a mapping to your System.config:
System.config({
map: {
'ng2-bs3-modal': 'node_modules/ng2-bs3-modal'
}
});
Then import and include in your component's directives:
import { MODAL_DIRECTIVES } from 'ng2-bs3-modal/ng2-bs3-modal';
@Component({
directives: [MODAL_DIRECTIVES]
})
<button type="button" class="btn btn-default" (click)="modal.open()">Open me!</button>
<modal #modal>
<modal-header [show-close]="true">
<h4 class="modal-title">I'm a modal!</h4>
</modal-header>
<modal-body>
Hello World!
</modal-body>
<modal-footer [show-default-buttons]="true"></modal-footer>
</modal>
This will create a modal that cannot be closed with the escape key or by clicking outside of the modal.
<button type="button" class="btn btn-default" (click)="modal.open()">Open me!</button>
<modal #modal [keyboard]="false" [backdrop]="'static'">
<modal-header [show-close]="false">
<h4 class="modal-title">I'm a modal!</h4>
</modal-header>
<modal-body>
Hello World!
</modal-body>
<modal-footer [show-default-buttons]="true"></modal-footer>
</modal>
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/29 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More