Pergunta

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?

Foi útil?

Solução

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

$.ui.activeDiv
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top