jQuery EasyUI API 中文文档 Tabs标签页/选项卡

2020-05-23 06:12:51易采站长站整理

onAdd



title



当一个新的 tab panel 被添加时触发。




onUpdate



title



当一个 tab panel 被更新时触发。




onContextMenu



e, title



当一个 tab panel 被右键点击时触发。


方法















































名称


参数


说明


options


none


返回 tabs options。


tabs


none


返回全部 tab panel。


resize


none


调整 tabs 容器的尺寸并做布局。


add


options


增加一个新的 tab panel,options 参数是一个配置对象,更多详细信息请参见  tab panel 特性。


close


title


关闭一个 tab panel,title 参数是指被关闭的 panel。


getTab


title


获取指定的 tab panel。


getSelected


none


获取选中的 tab panel。


select


title


选择一个 tab panel。


exists


title


是指是否存在特定的 panel。


update