87407607 2019-04-29
更新特定的选项卡面板 可使用update方法,param参数包含2个属性:
tab: 将被更新的选项卡。
options: 选项卡相关配置项。
Example:
//当前tab
var current_tab = $(‘#frame_tabs‘).tabs(‘getSelected‘);
$(‘#frame_tabs‘).tabs(‘update‘,{
tab:current_tab,
options : {
content : ‘<iframe scrolling="auto" frameborder="0" src="‘+URL+‘" style="width:100%;height:100%;"></iframe>‘,
//或者 href : ‘‘;
}
}); 项目要实现一个功能,在首页底部中间的tab弹出一个页面,而且是没有底部栏的,而不是像平常滑动的一个子页面。<ion-tab [root]="tab5Root" tabIcon="call" ="cal