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", -> indicator.states.switch("a")pageComp.on "2", -> indicator.states.switch("b")
Can someone point me in the right direction to make this work?
Here you go:pageComp.onChange "currentPage", => print pageComp.currentPage