[new feature] Tabs: add nav-left、nav-right slots (#2828)

This commit is contained in:
neverland
2019-02-23 19:19:03 +08:00
committed by GitHub
parent 4bdb1841fa
commit ac76ca0b40
5 changed files with 57 additions and 6 deletions
+9 -2
View File
@@ -174,12 +174,19 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
| title | Title | `String` | - |
| disabled | Whether to disable tab | `Boolean` | `false` |
### Tabs Slot
| name | Description |
|------|------|
| nav-left | Custom nav left content |
| nav-right | Custom nav right content |
### Tab Slot
| name | Description |
|------|------|
| - | Content |
| title | Custom tab |
| default | Content of tab |
| title | Custom tab title |
### Tabs Event