Composable useUpload.ts #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objectif
Composable réactif gérant l'état de l'upload (progress, error, success).
Fichier
app/composables/useUpload.tsÉtat exposé
uploading: booleanprogress: number (0-100)error: string | nullupload(file, options): fonction asyncValidation