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

What is Framer? Join the Community
Return to index
Ruben van Gaalen
Posted Apr 06 - Read on Facebook

Hi guys, I want to show a layer after an onDragEnd event (succeeded already in this), which disappears after a few second (like a toaster, didn't succeed in this yet). What would be the best way to code this? Thanks in advance!

3 Comments

Jordan Robert Dobson

Opacity 0? Or are you displaying then it should disappear?

David Louie

Add a Utils.delay after your first animation, that animates sketch.Noti back to 0 opacity. http://framerjs.com/docs/#utils.delay

Jordan Robert Dobson

Or you can use a delay in your animation or use events to trigger it on animation end.

Read the entire post on Facebook