Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-foundation-modal

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-foundation-modal

A modal mixin for zurb foundation 5.5

  • 0.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
Maintainers
2
Weekly downloads
 
Created
Source

ember-cli-foundation-modal

Build Status NPM Downloads

Description

ember-cli addon that sets the foundation reveal root_element to a value that you customize or a reasonable default.

Installation

npm install ember-cli-foundation-modal --save-dev

To use this modal in your app

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
    }
  };
};

Running Tests

npm install
bower install
ember test

License

Copyright © 2015 Toran Billups http://toranbillups.com

Licensed under the MIT License

Keywords

FAQs

Package last updated on 24 Apr 2015

Did you know?

Socket

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.

Install

Related posts

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