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

What is Framer? Join the Community
Return to index
Joseph Reni
Posted Jul 13 - Read on Facebook

I've noticed .next() will toggle through the initial state and the new state. is there a way to go to the initial state?

4 Comments

Balraj Chana

Hey Joseph, you can cycle through the states by passing an array of strings like this: .next("stateOne", "stateTwo"...)

Jonas Treub

The initial state is called "default". You would call it like:
layername.states.next("default")

Joseph Reni

sweet

Joseph Reni

Jonas Treub that worked

Read the entire post on Facebook