mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
11 lines
223 B
TypeScript
11 lines
223 B
TypeScript
import { VanComponent } from './component';
|
|
|
|
export type SwipeToOptions = {
|
|
immediate?: boolean;
|
|
};
|
|
|
|
export class Swipe extends VanComponent {
|
|
swipeTo(index: number, options?: SwipeToOptions): void;
|
|
resize(): void;
|
|
}
|