Search code examples
jqmobi

Current panel in jqmobi app


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?


Solution

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

    $.ui.activeDiv