This commit is contained in:
Janko Marohnić 2018-04-26 10:45:48 +02:00
parent 7501dd921e
commit 506c77c229
No known key found for this signature in database
GPG key ID: 84166B4FB1C84F3E

View file

@ -72,7 +72,7 @@ This global metadata is added to each file in Uppy. It can be modified with two
1. [`uppy.setMeta({ username: 'Peter' })`](/docs/uppy/#uppy-setmeta-data) — set or update meta for all files.
2. [`uppy.setFileMeta('myfileID', { resize: 1500 })`](/docs/uppy/#uppy-setFileMeta-fileID-data) — set or update meta for specific file.
Metadata from each file is then attached to uploads in [Tus](/docs/tus/) and [XHRUpload](/docs/tus/) plugins.
Metadata from each file is then attached to uploads in [Tus](/docs/tus/) and [XHRUpload](/docs/xhrupload/) plugins.
Metadata can also be added from a `<form>` element on your page via [Form](/docs/form/)plugin or via UI if you are using Dashboard with [`metaFields`](/docs/dashboard/#metaFields) option.