Explorar o código

Add `addFile` method docs to the Url plugin

https://github.com/transloadit/uppy/issues/658#issuecomment-549081193
Artur Paikin %!s(int64=5) %!d(string=hai) anos
pai
achega
6c051e69c9
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      website/src/docs/url.md

+ 9 - 0
website/src/docs/url.md

@@ -97,3 +97,12 @@ strings: {
 }
 ```
 
+## Methods
+
+### `addFile`
+
+You can add a file to the Url plugin directly via the API, like this:
+
+```js
+uppy.getPlugin('Url').addFile('https://example.com/myfile.pdf').then(uppy.upload)
+```