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

What is Framer? Join the Community
Return to index
Andy Jakubowski
Posted Feb 15 - Read on Facebook

Has Events.StateWillSwitch been deprecated? It still works, but seems to be gone from the docs.

I use it a lot to sync state changes between a layer and its sublayers: when superlayer switches to state B, tell all its sublayers to switch to state B as well.

Is there a better way to do this now?

2 Comments

Benjamin Den Boer

Hey Andy Jakubowski ā€” ah, no, seems like this is actually an error on our end. These events are still included. Fixing this (within the documentation) right now. :-)

Andy Jakubowski

Ah, I see. Great, Iā€™m glad these events are here to stay :)

Read the entire post on Facebook