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

What is Framer? Join the Community
Return to index
Eli Rousso
Posted May 04 - Read on Facebook

So I'm trying to add this event to an array and I keep getting this error. What am I doing wrong?

3 Comments

Daniel Loke

for i in [0...targets.length]

Radek Kyselý

or
for target, i in targets

The first argument in this ›for‹ loop will actually be the element of the array, not its index :)

Eli Rousso

thanks!

Read the entire post on Facebook