Interface: ITabsProps
TODO: Get rid of the ComponentProps in next version
Hierarchy
ComponentProps<any>↳
ITabsProps↳↳
IEditorGroup
Properties
activeTab
• Optional activeTab: UniqueId
Defined in
className
• Optional className: string
Defined in
closable
• Optional closable: boolean
deprecated For now, we don't need to control the global closable
Defined in
data
• Optional data: ITabProps<any, any>[]
Defined in
editable
• Optional editable: boolean
deprecated For now, we don't need to control the global editable
Defined in
role
• Optional role: string
Defined in
style
• Optional style: CSSProperties
Defined in
type
• Optional type: TabsType
Default is line
Defined in
Methods
onCloseTab
▸ Optional onCloseTab(key): void
Parameters
| Name | Type |
|---|---|
key | UniqueId |
Returns
void
Defined in
onContextMenu
▸ Optional onContextMenu(e, tab): void
Parameters
| Name | Type |
|---|---|
e | MouseEvent<Element, MouseEvent> |
tab | ITabProps<any, any> |
Returns
void
Defined in
onMoveTab
▸ Optional onMoveTab(tabs): void
Parameters
| Name | Type |
|---|---|
tabs | ITabProps<any, any>[] |
Returns
void
Defined in
onSelectTab
▸ Optional onSelectTab(key): void
Parameters
| Name | Type |
|---|---|
key | UniqueId |
Returns
void