Created
July 8, 2018 17:50
-
-
Save bogoslavskiy/087e6c80a75cff0170c07a916bf6ba3f to your computer and use it in GitHub Desktop.
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
getOpacitySearchBar() { | |
return { | |
opacity: this.scrollY.interpolate({ | |
inputRange: [...], | |
outputRange: [1, 0], | |
extrapolate: 'clamp', | |
}) | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment