Skip to content

Commit 9862a0e

Browse files
committed
chore: update readme
1 parent 7b47ebc commit 9862a0e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,12 @@ Secondly you need to assign some upload buttons:
5252
````html
5353
<input type="file" flow-btn />
5454
<input type="file" flow-btn flow-directory />
55+
Input OR Other element as upload button
56+
<span flow-btn>Upload File</span>
5557
````
5658

5759
First button is for normal uploads and second is for directory uploads.
60+
Note: avoid using `<a>` and `<button>` tags as file upload buttons, use `<span>` instead.
5861

5962

6063
Now you need to display uploaded files, all you need to do is to loop files array.

0 commit comments

Comments
 (0)