Last active
March 9, 2018 17:49
-
-
Save jsanta/7501dac89f479926bb237c8717bf6bb7 to your computer and use it in GitHub Desktop.
applyFilterAnimation function that toggles the filterApplied boolean value from true to false past 1500 ms (1.5s)
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
filterApplied: boolean = false; | |
private applyFilterAnimation(): void { | |
this.filterApplied = true; | |
setTimeout(() => this.filterApplied = false, 1500); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment