⬅️ Back to Table of Contents
📄 useAsyncValidator/component
📊 Analysis Summary
| Metric |
Count |
| 📦 Imports |
8 |
| 🟢 Vue Composition API |
1 |
| 📐 Interfaces |
2 |
📚 Table of Contents
🛠️ File Location:
📂 packages/integrations/useAsyncValidator/component.ts
📦 Imports
| Name |
Source |
Rules |
async-validator |
Reactive |
vue |
SlotsType |
vue |
UseAsyncValidatorOptions |
./index |
UseAsyncValidatorReturn |
./index |
defineComponent |
vue |
reactive |
vue |
useAsyncValidator |
./index |
Vue Composition API
| Name |
Type |
Reactive Variables |
Composables |
reactive |
reactive |
none |
none |
Interfaces
UseAsyncValidatorProps
Interface Code
export interface UseAsyncValidatorProps {
form: Record<string, any>
rules: Rules
options?: UseAsyncValidatorOptions
}
Properties
| Name |
Type |
Optional |
Description |
form |
Record<string, any> |
✗ |
not shown |
rules |
Rules |
✗ |
not shown |
options |
UseAsyncValidatorOptions |
✓ |
not shown |
UseAsyncValidatorSlots
Interface Code
interface UseAsyncValidatorSlots {
default: (data: Reactive<UseAsyncValidatorReturn>) => any
}
Properties
| Name |
Type |
Optional |
Description |
default |
(data: Reactive<UseAsyncValidatorReturn>) => any |
✗ |
not shown |
Generated by Syntax Scribe