ember-is-visible

0.2.0 • Public • Published

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/.

/ember-is-visible/

    Package Sidebar

    Install

    npm i ember-is-visible

    Weekly Downloads

    9

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    291 kB

    Total Files

    15

    Last publish

    Collaborators

    • elwayman02