Skip to content

Instantly share code, notes, and snippets.

@ruucm-working
Created May 22, 2019 16:39
Show Gist options
  • Select an option

  • Save ruucm-working/45d054d10221e93c06d40040c5fe8e11 to your computer and use it in GitHub Desktop.

Select an option

Save ruucm-working/45d054d10221e93c06d40040c5fe8e11 to your computer and use it in GitHub Desktop.
--- /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