npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ember-frost-modal

v12.1.2

Published

Modals for what ails you

Downloads

90

Readme

ember-frost-modal

Dependencies

Ember NPM

Health

Travis Coveralls

Security

bitHound

Ember Observer score

EmberObserver

Installation

ember install ember-frost-modal

API and Examples

Detailed API and example usage can be found in the sample application in tests/dummy, which is also running at http://ciena-frost.github.io/ember-frost-modal

Ember-elsewhere

This addon uses the ember-elsewhere to manage the modals, to lift them outside the normal route hiearchy.

ember-perfectscroll effects (TODO effects based off perfectscroll events, but not from perfectscroll)

This gives you styling of header/footer when content is scrolled underneath either element

Styling includes: box shadow plus slight transparency in header/footer to reveal content underneath For more documentation on ember-perfectscroll: perfect-scrollbar

Testing with ember-hook

This addon has been optimized for use with ember-hook. You can set a hook name on your modal template. This will allow you to access the internal modal content for testing.

Available hooks (TODO move to documentation)

  • Modal dialog title - <hook-name>-title
  • Modal dialog header icon - <hook-name>-icon
  • Modal dialog summary div - <hook-name>-summary
  • Modal dialog content div - <hook-name>-content
  • Modal dialog cancel button - <hook-name>-cancel
  • Modal dialog confirm button - <hook-name>-confirm
  • Modal dialog action links - <hook-name>-link-<index>

Development

Setup

git clone [email protected]:ciena-frost/ember-frost-modal.git
cd ember-frost-modal
npm install && bower install

Development Server

A dummy application for development is available under ember-frost-modal/tests/dummy. To run the server run ember server (or npm start) from the root of the repository and visit the app at http://localhost:4200.

Testing

Run npm test from the root of the project to run linting checks as well as execute the test suite and output code coverage.

Test Helpers

Test helpers are provided at ember-frost-modal/test-support/frost-modal to assist with writing tests for code that uses ember-frost-modal components: