mirror of
				https://gitee.com/vant-contrib/vant.git
				synced 2025-11-04 21:02:09 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			293 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			293 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { VanComponent } from './component';
 | 
						|
 | 
						|
export class Form extends VanComponent {
 | 
						|
  submit(): void;
 | 
						|
 | 
						|
  validate(name?: string | string[]): Promise<void>;
 | 
						|
 | 
						|
  resetValidation(name?: string | string[]): void;
 | 
						|
 | 
						|
  scrollToField(name: string, options?: boolean | ScrollIntoViewOptions): void;
 | 
						|
}
 |