feat(Tabbar): add before-change prop (#7081)

This commit is contained in:
neverland
2020-09-02 11:45:11 +08:00
committed by GitHub
parent b276fb5a78
commit d55585314f
5 changed files with 90 additions and 3 deletions
+1
View File
@@ -160,6 +160,7 @@ export default {
| route | Whether to enable route mode | _boolean_ | `false` |
| placeholder `v2.6.0` | Whether to generage a placeholder element when fixed | _boolean_ | `false` |
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation | _boolean_ | `false` |
| before-change `v2.10.4` | Callback function before changing tabsreturn `false` to prevent changesupport return Promise | _(name) => boolean \| Promise_ | - |
### Tabbar Events