0
点赞
收藏
分享

微信扫一扫

8、EasyUI的选项卡组件

洛茄 2022-07-27 阅读 67


EasyUI的选项卡组件

1、给元素加上class=”easyui-tabs”
2、closable:true,表示该选项卡可以删除,closable:false表示给选项不可以删除

<body>
<div class="easyui-tabs" style="width:700px;height:300px">
<div title="选项卡1" data-options="closable:true">选项卡1的内容</div>
<div title="选项卡2" data-options="closable:false">选项卡1的内容</div>
<div title="选项卡3" data-options="closable:true">选项卡1的内容</div>
<div title="选项卡4" data-options="closable:true">选项卡1的内容</div>
<div title="选项卡5" data-options="closable:true">选项卡1的内容</div>
<div title="选项卡6" data-options="closable:false">选项卡1的内容</div>
</div>
</body>

8、EasyUI的选项卡组件_选项卡


举报

相关推荐

0 条评论