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

What is Framer? Join the Community
Return to index
Melisa Masso Navarro
Posted Sep 14 - Read on Facebook

Hi guys noobie here,
I'm doing a swipe-able prototype and trying to change the state of an indicator depending on what page you are currently on.

I have the following:

pageComp.on "1", ->
pageComp.on "2", ->

Can someone point me in the right direction to make this work?


Jonas Treub

Here you go:
pageComp.onChange "currentPage", =>
print pageComp.currentPage

Read the entire post on Facebook