瀏覽代碼

Add `addFile` method docs to the Url plugin

https://github.com/transloadit/uppy/issues/658#issuecomment-549081193
Artur Paikin 5 年之前
父節點
當前提交
6c051e69c9
共有 1 個文件被更改,包括 9 次插入0 次删除
  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)
+```