Skip to content

Commit

Permalink
handleFileInput promise clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
NyllRE committed Jul 12, 2024
1 parent 2052b85 commit 3cca892
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ You can use Nuxt Storage to get the files from the `<input>` tag:
```
The `files` return a ref object that contains the files

> `handleFileInput` returns a promise in case you need to check if the file input has concluded

Here's an example of using files to send them to the backend:
```html
<template>
Expand Down

0 comments on commit 3cca892

Please sign in to comment.