mirror of
https://github.com/youzan/vant.git
synced 2026-05-16 01:07:43 +08:00
[Doc] add english document of all basic components
This commit is contained in:
@@ -209,17 +209,17 @@ export default {
|
||||
| Attribute | Description | Type | Default | 可选 |
|
||||
|-----------|-----------|-----------|-------------|-------------|
|
||||
| classtype | 两种UI | `String` | `line` | `line`, `card` |
|
||||
| active | 默认激活的tab | `String`, `Number` | `0` | |
|
||||
| navclass | tabs的内部nav上的自定义classname | `String` | | |
|
||||
| duration | 切换tab的动画时间 | `Number` | `0.3` | | |
|
||||
| active | 默认激活的tab | `String`, `Number` | `0` | - |
|
||||
| navclass | tabs的内部nav上的自定义classname | `String` | - | - |
|
||||
| duration | 切换tab的动画时间 | `Number` | `0.3` | - | - |
|
||||
|
||||
|
||||
### van-tab API
|
||||
|
||||
| Attribute | Description | Type | Default | 可选 |
|
||||
|-----------|-----------|-----------|-------------|-------------|
|
||||
| title | tab的标题 | `String` | | |
|
||||
| disabled | 是否禁用这个tab | `Boolean` | `false` | |
|
||||
| title | tab的标题 | `String` | - | - |
|
||||
| disabled | 是否禁用这个tab | `Boolean` | `false` | - |
|
||||
|
||||
### van-tabs Event
|
||||
|
||||
|
||||
Reference in New Issue
Block a user