link active dot (page controller) to action on the screen

 Hi Guys, 

I have seen "The Page controller component" and my question is:

How can I link the action on the screen to the corresponding active dot on the page controller?

I mean like I swipe (scroll) my container, and the active dots changes to the corresponding page. But I need to make another layer (lets say "map layer 1") "Go to front" when the second dot is active, and "map layer 2" when the third dot is active and so on.

How can I do this?


Please sign in to leave a comment.