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

What is Framer? Join the Community
Return to index
Ade Adegoke
Posted May 11 - Read on Facebook

Hi everyone am quite new to Framer JS, but I have to learn a lot pretty soon as I have a project that has to be handed in tomorrow.
I would like to know the simple code of how to make a button.
For example if I press a square on screen it turns to a circle?


Andreas Wahlström

Hi! This should get you started:
a = new Layer
a.onClick -> @animate properties: {borderRadius: 100}

Read the entire post on Facebook