Tab
Props & Methods
prefixCls
string
"im-tab"
active
string
"0"
onTabClick
func
function() {
}
onActive
func
function() {
}
onBeforeActive
func
function() {
}
tabType
'bottom' │ 'border' │ 'top' │ 'fit'
'bottom'
tabScene
'center' │ 'bookmark' │ 'banner'
[Empty string]
shouldDestroy
bool
true
style
object
className
string
Basic Usage
No Destroy
Tab Types
Tab Scenes
Active
OnActive
OnBeforeActive
选中了第 -1 项,上一次选中的是 2