mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 23:55:08 +00:00
12 lines
224 B
TypeScript
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;
|
|
}
|