| << Click to Display Table of Contents >> 选项卡组件的脚本函数 |     | 
| 函数 | 说明 | 举例 | 
|---|---|---|
| dir | 选项卡的位置类型。//0表示的上面,2表示的左边 | TabElement1.dir=0; | 
| selIndex | 表示选项卡的选择的第几项//从0开始 | TabElement1.selIndex=1; | 
| showIcon | 是否显示图标 | TabElement1.showIcon=true; | 
| fitContent | 自适应大小 | TabElement1.fitContent = true; | 
| padding | 填充距离 | TabElement1.padding = ['8', '8', '8', '8']; |