tabs-drawer
<data-view.tabs-drawer>
data-view.tabs-drawer
Examples
Basic
Properties
Name | Description | Type | Default | Required |
---|---|---|---|---|
tabList | TabItem[] | - | ✅ | |
activeKey | string | - | ✅ | |
width | number | string | |||
drawerStyle | React.CSSProperties | |||
bodyStyle | React.CSSProperties | |||
zIndex | number | |||
visible | boolean |
Events
Name | Description | Event Detail |
---|---|---|
open | void | |
close | void | |
tab.change | string - `string` |
Methods
Name | Description | Params | Returns |
---|---|---|---|
open | |||
close |
Type references
TabItem
Name | Type | Required | Description |
---|---|---|---|
icon | GeneralIconProps | ✅ | 菜单标题对应的图标。 |
key | string | ✅ | 唯一标识 |
title | string | 菜单标题。 | |
tooltip | string |