vant/types/swipe.d.ts

12 lines
224 B
TypeScript

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