1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-25 19:06:36 +08:00
2020-10-02 08:50:37 +08:00

16 lines
258 B
TypeScript

import { VanComponent } from './component';
export type SwipeToOptions = {
immediate?: boolean;
};
export class Swipe extends VanComponent {
prev(): void;
next(): void;
swipeTo(index: number, options?: SwipeToOptions): void;
resize(): void;
}