
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
ember-cli-foundation-modal
Advanced tools
ember-cli addon that sets the foundation reveal root_element to a value that you customize or a reasonable default.
npm install ember-cli-foundation-modal --save-dev
If you are using Ember 1.X or < 2.1 you will need to use version 0.3.1. Ember 2.1 introduced an API change to the initializers that removed container
as the first argument.
Versions of Ember > 2.1 will be deprecation free with 1.0.0.
bower install zurb foundation 5.5
bower install foundation --save
The purpose of this project is to set a reasonable default for reveal's modal location. This default will work great as long as your app doesn't have nested routes.
More than likely, you will need to customize the location of the modal further by assigning it to the top level div in your ember application. To do this, customize the APP portion your environment.js file.
In addition, you probably don't want to wait for the modal during your tests, so you should set the animation speed for the modal to 0.
module.exports = function(/* environment, appConfig */) {
return {
APP: {
foundationModalElement: '#ember-application',
foundationModalAnimationSpeed: 0
}
};
};
npm install
bower install
ember test
Copyright © 2015 Toran Billups http://toranbillups.com
Licensed under the MIT License
FAQs
A modal mixin for zurb foundation 5.5
The npm package ember-cli-foundation-modal receives a total of 4 weekly downloads. As such, ember-cli-foundation-modal popularity was classified as not popular.
We found that ember-cli-foundation-modal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.