Bladeren bron

Add `addFile` method docs to the Url plugin

https://github.com/transloadit/uppy/issues/658#issuecomment-549081193
Artur Paikin 5 jaren geleden
bovenliggende
commit
6c051e69c9
1 gewijzigde bestanden met toevoegingen van 9 en 0 verwijderingen
  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)
+```