mirror of
				https://gitee.com/vant-contrib/vant.git
				synced 2025-11-04 21:02:09 +08:00 
			
		
		
		
	* feat(Sku): 售罄sku支持点击 * feat(Sku): add disable-soldout-sku prop Co-authored-by: zhanglin_0715 <zhanglin_0715@youzan.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			258 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			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;
 | 
						|
}
 |