vant/types/form.d.ts
2020-03-01 20:01:56 +08:00

12 lines
228 B
TypeScript

import { VanComponent } from './component';
export class Form extends VanComponent {
submit(): void;
validate(name?: string): Promise<void>;
resetValidation(name?: string): void;
scrollToField(name: string): void;
}