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

What is Framer? Join the Community
Return to index
Keith Lang
Posted Nov 17 - Read on Facebook

Can anyone explain to me the reason for the comma in 'layerA.on Events.Click, ->' ?

2 Comments

Koen Bok

.on is a function that takes an event and function as arguments. Arguments are separated by a ,.

Keith Lang

Thanks! I guess I wondered if the comma might be made to be optional?

Read the entire post on Facebook