This addon provides a visibility
service to track whether your app is currently visible.
Click to see the demo!
git clone https://github.com/elwayman02/ember-is-visible
this repositorycd ember-is-visible
npm install
Simply inject the visibility
service and check the visible
and lostVisibility
properties:
Indicates whether the app is currently visible
Indicates if the app has ever not been visible during the current session.
This section outlines the details of collaborating on this Ember addon.
ember serve
- Visit your app at http://localhost:4200.
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit https://ember-cli.com/.