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

What is Framer? Join the Community
Return to index
Alexander Olssen
Posted Jan 03 - Read on Facebook

Hello, guys! Sorry for my silly question, but i can't cope with my prototype. So i created scrollable card list, that made with for-loop, and add simple "onTap" event that changes card background colour.
But what should i do, if i want to bring default background colour after second tap? Here is my Framer prototype - https://framer.cloud/kiQEA/

2 Comments

Philip Belov

Alexander, I would create a state for dark pink background, and cycle through the "default" and "dark pink" states. Here's a prototype: https://framer.cloud/xHtOX

Vinzenz Leutenegger

I guess you forgot a dot after the @ sign so you get access to the property. Just case if you need it later :)

Read the entire post on Facebook