feat(Tab): add scrollTo method (#6800)

This commit is contained in:
neverland
2020-07-16 22:48:26 +08:00
committed by GitHub
parent 76c2f5efda
commit b249c690d7
6 changed files with 44 additions and 8 deletions

2
types/tabs.d.ts vendored
View File

@@ -2,4 +2,6 @@ import { VanComponent } from './component';
export class Tabs extends VanComponent {
resize(): void;
scrollTo(name: string | number): void;
}