Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Visibility API #2212

Merged
merged 2 commits into from
Feb 26, 2016
Merged

Commits on Feb 25, 2016

  1. Configuration menu
    Copy the full SHA
    c09dcc2 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2016

  1. Implement Visibility API

    Implements a “standardized” visibility API with control from the viewer
    and browser document.
    
    - Allows the Viewer to send the `paused` state when the users swipes
      between AMP docs. (closes ampproject#1655, ampproject#1538)
    - Adds the `prerender` visibility state when the AMP document has not
      been shown yet.
    - Adds the `inactive` visibility state when the AMP document is not
      active.
    - Changes the `hidden` visibility to mean the AMP doc is active but the
      browser tab is not visible.
    jridgewell committed Feb 26, 2016
    Configuration menu
    Copy the full SHA
    0b66e51 View commit details
    Browse the repository at this point in the history