Created
May 22, 2019 16:39
-
-
Save ruucm-working/45d054d10221e93c06d40040c5fe8e11 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
| --- /dev/null | |
| +++ b/adidas-landing.framerfx/code/App.tsx | |
| @@ -0,0 +1,13 @@ | |
| +import { Override, useAnimation } from 'framer' | |
| + | |
| +// Override Docs: https://framer.com/docs/overrides | |
| +window.log = console.log | |
| + | |
| +export function Scroll(): Override { | |
| + return { | |
| + async onScroll(e) { | |
| + var move = e.point.y | |
| + log('move', move) | |
| + }, | |
| + } | |
| +} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment