forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
c09dcc2
commit 0b66e51
Showing
2 changed files
with
274 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.