Pārlūkot izejas kodu

Add `addFile` method docs to the Url plugin

https://github.com/transloadit/uppy/issues/658#issuecomment-549081193
Artur Paikin 5 gadi atpakaļ
vecāks
revīzija
6c051e69c9
1 mainītis faili ar 9 papildinājumiem un 0 dzēšanām
  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)
+```