types(IndexBar): add scrollTo method (#7845)

This commit is contained in:
neverland
2021-01-02 16:31:24 +08:00
committed by GitHub
parent fd385bce9d
commit 3344e31a92
5 changed files with 29 additions and 7 deletions
+5
View File
@@ -0,0 +1,5 @@
import { VanComponent } from './component';
export class IndexBar extends VanComponent {
scrollTo(index: number | string): void;
}