This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Jon Madison
Posted May 23 - Read on Facebook

FYI scrollToPoint documentation example is faulty.


Eelco Lempsink

Can you explain what’s faulty about it? I see a typo (x: 300 and then x: 200), but other than that it seems fine?

Jon Madison

The example is scroll.scrollToPoint(
x: 200, y: 100
curve: "ease"
) a point is an object, not a list of values.

I think we're talking about the same thing. i'd say that a typo is something that's faulty. :) Tripped me up for a sec

Jon Madison

i think maybe it's my faulty understanding of CoffeeScript? is a set of values on a single line considered an object definition?

Read the entire post on Facebook