Merge branch '2.x' into dev

This commit is contained in:
chenjiahan
2021-01-02 17:20:30 +08:00
8 changed files with 50 additions and 35 deletions
+2
View File
@@ -2,4 +2,6 @@ import { VanComponent } from './component';
export class Calendar extends VanComponent {
reset(): void;
scrollToDate(date: Date): void;
}
+5
View File
@@ -0,0 +1,5 @@
import { VanComponent } from './component';
export class IndexBar extends VanComponent {
scrollTo(index: number | string): void;
}
+2 -1
View File
@@ -14,6 +14,7 @@ import { DropdownItem } from './dropdown-item';
import { Field } from './field';
import { Form } from './form';
import { ImagePreview } from './image-preview';
import { IndexBar } from './index-bar';
import { Lazyload } from './lazyload';
import { List } from './list';
import { Locale } from './locale';
@@ -59,7 +60,6 @@ export class ActionBarButton extends VanComponent {}
export class Icon extends VanComponent {}
export class Image extends VanComponent {}
export class IndexAnchor extends VanComponent {}
export class IndexBar extends VanComponent {}
export class Info extends VanComponent {}
export class Loading extends VanComponent {}
export class NavBar extends VanComponent {}
@@ -109,6 +109,7 @@ export {
Form,
Field,
ImagePreview,
IndexBar,
Lazyload,
List,
Locale,