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

What is Framer? Join the Community
Return to index
John Marstall
Posted Jun 15 - Read on Facebook

Can I reset a Utils.delay, or otherwise create a timer and reset it before it expires?


Jonas Treub

You can use the Utils functions throttle and debounce for this purpose:

Tes Mat

I use JS’s setTimeout() and clearTimeout()

John Marstall

Wow. Awesome. Thank you!

John Marstall

Framer seems to reject the comma in setTimeout. I tried it like so and it seems to work but throws an error -- '"exports.hide()" is not a function.'

Tes Mat

Hmm… Don’t know. It worked in my case. See this project:

Read the entire post on Facebook