Do I have to create a new panel for every page?

后端 未结 11 1484
Happy的楠姐
Happy的楠姐 2020-12-13 22:30

I would like to use a Panel in a jqm site for my Choose Language component. So that component will need to be present on every page. Here is the setup for a single-page pane

11条回答
  •  醉酒成梦
    2020-12-13 23:13

    Panel is a new concept introduced in 1.3. So lets hope more tutorials will show up soon. As of your problem, I guess its better you code a panel in each of your pages. You can make changes to your page real time but make sure to call following method as documented in the documentation.

    $( "#mypanel" ).trigger( "updatelayout" );
    

    I'm not sure other ways would be feasible.

提交回复
热议问题