Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在将一个移动应用程序从 jQueryMobile 移植到 jqMobi,并且正在寻找一种方法来确定当前查看的面板。在 jQuery 中,他们有
$.mobile.activePage
jqMobi 有类似的东西,还是我需要自己跟踪?
您可以使用一个名为“activeDiv”的属性 - 它是原始 DOM 节点。
$.ui.activeDiv