Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created July 12, 2017 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/2d00fd9b4b70074b22485169be81bad6 to your computer and use it in GitHub Desktop.
Save matthieu-D/2d00fd9b4b70074b22485169be81bad6 to your computer and use it in GitHub Desktop.
if (enteringView) {
const enteringPageEle: Element = enteringView.pageRef().nativeElement;
const enteringContent = new Animation(this.plt, enteringView.pageRef());
this.add(enteringContent);
enteringContent
.fromTo(OPACITY, TRANSPARENT, OPAQUE, true);
.
.
.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment