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

What is Framer? Join the Community
Return to index
Jeremie Michaels Lim
Posted May 20 - Read on Facebook

Hey guys! Picking up framer again, I was wondering currently what's the best way to toggle between functions? I remember there used to be a toggle utility but it's deprecated now? Appreciate the help!

1 Comments

Stephen Crowley

myToggle = Utils.toggle(function1,function2) and then call myToggle()() on for example a click event

Read the entire post on Facebook