@sanjai-plugin/myplugin
v0.0.1
Published
demo purpose
Downloads
7
Readme
myplugin
demo purpose
Install
npm install myplugin
npx cap syncAPI
validateField(...)
validateField(options: { value: string; rule: string; minLength?: number; }) => Promise<{ valid: boolean; message: string; }>| Param | Type |
| ------------- | ----------------------------------------------------------------- |
| options | { value: string; rule: string; minLength?: number; } |
Returns: Promise<{ valid: boolean; message: string; }>
