majulian

buttongroup中content一次性加载的解决方法

buttongroup一次性加载所有内容的解决方法

如下图所示:

第一步:

设置windowcontainer的autoLoad属性为false(默认情况下autoLoad属性为true,所以会加载所有的content)

注:若要预加载某个content,则可以设置该windowcntainer属性为true

 

 

 

如下图所示

第二步:触发content的onactiveChange事件

 

 

 

 

发表于 2017-12-04 12:00 yayaoo 阅读(...) 评论(...) 编辑 收藏
 

分类:

技术点:

相关文章: