如何在 Intel XDK 中使用 App Framework 面板加载

How to use App Framework panelload in Intel XDK

我尝试使用 panelload,但它不会在我的应用程序中触发,这是我的代码,有人可以帮忙吗?

    $(document).on("loadpanel","#uib_page_1", function(evt){
        alert("Test");
    });
    <div class="upage vertical-col left view" id="mainpage" data-header="none" data-footer="none">
      <div class="pages">
        <div class="upage-content vertical-col left panel ac0" id="uib_page_1">
...
          </div>
    </div>

这对我适用于 appFramework 3.0 :

   $(document).on("panelload","#uib_page_1", function(){
        console.log("Test");
    });