0.2.0 • Published 7 years ago
ember-is-visible v0.2.0
Ember-Is-Visible
This addon provides a visibility service to track whether your app is currently visible.
Click to see the demo!
Installation
git clone https://github.com/elwayman02/ember-is-visiblethis repositorycd ember-is-visiblenpm install
Usage
Simply inject the visibility service and check the visible and lostVisibility properties:
visible
Indicates whether the app is currently visible
lostVisibility
Indicates if the app has ever not been visible during the current session.
Development
This section outlines the details of collaborating on this Ember addon.
Running
ember serve- Visit your app at http://localhost:4200.
Running Tests
npm test(Runsember try:eachto test your addon against multiple Ember versions)ember testember test --server
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.