Last active
April 9, 2018 22:14
-
-
Save dbismut/ed7775ef3665c7644eefdd2806edcb5e to your computer and use it in GitHub Desktop.
Part 3 - Adding the .post-enter-started class
This file contains hidden or 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
executeEnteringTransition = (node, done) => { | |
this.postStyler.set({ ...this.from, visibility: 'visible' }); | |
node.classList.add('post-enter-started'); // add this line | |
/* same code */ | |
complete: () => { | |
node.classList.remove('post-enter-started'); // add this line | |
done(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment