Question

I am porting a mobile app from jQueryMobile to jqMobi and am looking for a way to determine the currently viewed panel. In jQuery they had

$.mobile.activePage

Does jqMobi have something similar, or do i need to track it myself?

Was it helpful?

Solution

There is a property called "activeDiv" that you can use - it is the raw DOM node.

$.ui.activeDiv
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top