You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -149,7 +149,7 @@ Note: avoid using `a` and `button` tags as file upload buttons, use span instead
149
149
150
150
#### Events
151
151
152
-
*`.fileSuccess(file)` A specific file was completed.
152
+
*`.fileSuccess(file, message)` A specific file was completed. First argument `file` is instance of `FlowFile`, second argument `message` contains server response. Response is always a string.
153
153
*`.fileProgress(file)` Uploading progressed for a specific file.
154
154
*`.fileAdded(file, event)` This event is used for file validation. To reject this file return false.
155
155
This event is also called before file is added to upload queue,
@@ -172,7 +172,7 @@ FlowFile constructor can be accessed in `Flow.FlowFile`.
172
172
173
173
*`.flowObj` A back-reference to the parent `Flow` object.
174
174
*`.file` The correlating HTML5 `File` object.
175
-
*`.fileName` The name of the file.
175
+
*`.name` The name of the file.
176
176
*`.relativePath` The relative path to the file (defaults to file name if relative path doesn't exist)
177
177
*`.size` Size in bytes of the file.
178
178
*`.uniqueIdentifier` A unique identifier assigned to this file object. This value is included in uploads to the server for reference, but can also be used in CSS classes etc when building your upload UI.
0 commit comments