Вопрос

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