Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
bootstrap-modal
Advanced tools
Bootstrap Modal (w/ animation) addon for Ember CLI
ember install bootstrap-modal
Usually you will want to create custom components based on this component, since every ones needs are different. The following is a simple example of what you can do.
{{#if showModal}}
{{#with (action 'toggleShowModal') as |toggle|}}
{{#bootstrap-modal close=(action toggle) closeOnOverlayClick=true}}
<div class="modal-header">
<button type="button" class="close" aria-label="Close" {{action toggle}}>
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">Test</h4>
</div>
<div class="modal-body">
Content Here
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" {{action toggle}}>
Close
</button>
</div>
{{/bootstrap-modal}}
{{/with}
{{/if}}
The toggleShowModal
is an action that toggles the showModal
boolean.
If you have your own app/transitions.js
, then you will need to add the modal transition
like the example below, otherwise, the transition should just work.
// app/transitions.js
import defaultTransition from 'bootstrap-modal/utils/default-transition';
export default function () {
// bootstrap-modal transition
defaultTransition(this);
// other transitions here..
}
Follow the steps below to start the dummy app, and work on contributing to this addon.
git clone
this repositorynpm install
bower install
ember server
npm test
(Runs ember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.
FAQs
Bootstrap Modal (w/ animation) addon for Ember CLI
The npm package bootstrap-modal receives a total of 80 weekly downloads. As such, bootstrap-modal popularity was classified as not popular.
We found that bootstrap-modal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.