ember-is-visible

Visibility Detection for Ember Apps

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
ember-is-visible
2240.2.04 years ago5 years agoMinified + gzip package size for ember-is-visible in KB

Readme

Ember-Is-Visible
Build Status Ember Observer Score Code Climate Greenkeeper badge
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-visible this repository
  • cd ember-is-visible
  • npm 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

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.