jQuery File Uploader API reference
Uploadcare jQuery File Uploader API is an extensive set of tools that allows you adjust File Uploader behavior and implement various uploading workflows. For example, upload files from URL, moderate uploaded content, adjust the uploading widget appearance to match your website or app.
As stated in the widget configuration section, jQuery File Uploader options can be set in three ways.
- Globally, on page load.
- Locally, when the new uploading widget object is created.
- By passing the
settings
object.
JavaScript global variables will go in your <script>
tag:
Replace YOUR_PUBLIC_KEY
with your public API key.
Local options can be set in the <input>
element as data attributes:
You can also pass most of the uploading widget options as an argument holding the
settings
object to the methods listed
in this JavaScript API reference. For instance: