Explorar el Código

Add `addFile` method docs to the Url plugin

https://github.com/transloadit/uppy/issues/658#issuecomment-549081193
Artur Paikin hace 5 años
padre
commit
6c051e69c9
Se han modificado 1 ficheros con 9 adiciones y 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)
+```