12.1.2 • Published 6 years ago

ember-frost-modal v12.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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 git@github.com: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:

12.1.2

6 years ago

12.1.1

6 years ago

12.1.0

6 years ago

12.0.2

6 years ago

12.0.1

6 years ago

12.0.0

6 years ago

11.0.0

6 years ago

10.0.1

6 years ago

10.0.0

6 years ago

9.0.0

6 years ago

8.1.0

6 years ago

8.0.0

6 years ago

7.0.3

6 years ago

7.0.2

6 years ago

7.0.1

6 years ago

7.0.0

6 years ago

6.2.13

7 years ago

6.2.12

7 years ago

6.2.11

7 years ago

6.2.10

7 years ago

6.2.9

7 years ago

6.2.8

7 years ago

6.2.7

7 years ago

6.2.6

7 years ago

6.2.5

7 years ago

6.2.4

7 years ago

6.2.3

7 years ago

6.2.2

7 years ago

6.2.1

7 years ago

6.2.0

7 years ago

6.1.4

7 years ago

6.1.3

7 years ago

6.1.2

7 years ago

6.1.1

7 years ago

6.1.0

7 years ago

6.0.6

7 years ago

6.0.5

7 years ago

6.0.4

7 years ago

6.0.3

7 years ago

6.0.2

7 years ago

6.0.1

7 years ago

6.0.0

7 years ago

5.2.1

7 years ago

5.2.0

7 years ago

5.1.1

7 years ago

5.1.0

7 years ago

5.0.1

7 years ago

5.0.0

7 years ago

4.0.0

7 years ago

3.11.2

8 years ago

3.11.1

8 years ago

3.11.0

8 years ago

3.10.1

8 years ago

3.10.0

8 years ago

3.9.0

8 years ago

3.8.1

8 years ago

3.8.0

8 years ago

3.7.0

8 years ago

3.6.0

8 years ago

3.5.0

8 years ago

3.4.0

8 years ago

3.3.0

8 years ago

3.2.0

8 years ago

3.1.2

8 years ago

3.1.1

8 years ago

3.1.0

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.1.2

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

8 years ago