문제

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?

도움이 되었습니까?

해결책

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

$.ui.activeDiv
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top