Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Cleanup #350

Merged
merged 3 commits into from
Jan 25, 2015
Merged

Cleanup #350

merged 3 commits into from
Jan 25, 2015

Conversation

@@ -28,4 +28,12 @@
// });
// }

// exports.addEventListener('page-transition-done', function(e) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get rid of this and file a bug?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bug is #331, but using it is imminent so I left the comment for others.

@brendankenny
Copy link
Member

reviewed.

Can you add some docs for page-transition-done? I assume we'll have to be careful with it since some elements may see it fire multiple times in their lifetimes.

Is it fair to say that it only fires after a page transition is triggered and is complete, so it's guaranteed not to fire multiple times without a page transition having happened in between, for instance?

@ebidel
Copy link
Contributor Author

ebidel commented Jan 25, 2015

Yea, only when the page is fully complete.

@ebidel
Copy link
Contributor Author

ebidel commented Jan 25, 2015

PTAL

@brendankenny
Copy link
Member

LGTM ⏰

brendankenny added a commit that referenced this pull request Jan 25, 2015
@brendankenny brendankenny merged commit daf2d52 into master Jan 25, 2015
@brendankenny brendankenny deleted the cleanup branch January 25, 2015 19:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants