onAdd
title
当一个新的 tab panel 被添加时触发。
onUpdate
当一个 tab panel 被更新时触发。
onContextMenu
e, title
当一个 tab panel 被右键点击时触发。
方法
名称
参数
说明
options
none
返回 tabs options。
tabs
返回全部 tab panel。
resize
调整 tabs 容器的尺寸并做布局。
add
增加一个新的 tab panel,options 参数是一个配置对象,更多详细信息请参见 tab panel 特性。
close
关闭一个 tab panel,title 参数是指被关闭的 panel。
getTab
获取指定的 tab panel。
getSelected
获取选中的 tab panel。
select
选择一个 tab panel。
exists
是指是否存在特定的 panel。
update
2023-03-10
0万阅读
2023-02-27
2023-02-23
6万阅读
2023-02-22
2023-02-12
8万阅读
3万阅读
2023-01-19
2023-01-17
4万阅读
2万阅读