vant/types/swipe.d.ts
木槿花开 7a6e78fbf9
feat(Sku): add disable-soldout-sku prop (#7759)
* feat(Sku): 售罄sku支持点击

* feat(Sku): add disable-soldout-sku prop

Co-authored-by: zhanglin_0715 <zhanglin_0715@youzan.com>
2020-12-17 14:27:32 +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;
}