Skip to content

Commit 2a7b093

Browse files
committed
chore: readme - custom attributes
1 parent a9f9fa2 commit 2a7b093

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,10 @@ parameter must be adjusted together with `progressCallbacksInterval` parameter.
137137
* `isDirectory` Pass in `true` to allow directories to be selected (Chrome only, support can be checked with `supportDirectory` property).
138138
* `singleFile` To prevent multiple file uploads set this to true. Also look at config parameter `singleFile`.
139139
* `attributes` Pass object of keys and values to set custom attributes on input fields.
140-
For example, you can set `accept` attribute to `image/*`. This means that user will be able to select only images.
141-
Full list of attributes: http://www.w3.org/TR/html-markup/input.file.html#input.file-attributes
142-
Note: avoid using `a` and `button` tags as file upload buttons, use span instead.
140+
For example, you can set `accept` attribute to `image/*`. This means that user will be able to select only images.
141+
Full list of attributes: http://www.w3.org/TR/html-markup/input.file.html#input.file-attributes
142+
143+
Note: avoid using `a` and `button` tags as file upload buttons, use span instead.
143144
* `.assignDrop(domNodes)` Assign one or more DOM nodes as a drop target.
144145
* `.on(event, callback)` Listen for event from Flow.js (see below)
145146
* `.off([event, [callback]])`:

0 commit comments

Comments
 (0)