Skip to navigation

Plugins, debugging, and usage telemetry.

Related guides: Plugin API.

See all options for the full list.

plugins Since v1.29.0

Works as DOM property only.

Plugins to register with the uploader. The uploader initializes them in array order and skips duplicates by id. Assigning a new array resyncs the list: the uploader disposes the plugins you removed and sets up the ones you added.

See Plugin API docs for details.

Attribute: -

DOM property: plugins

Type: UploaderPlugin[]

Default: []

debug Since v0.32.0

Enable debug mode. In debug mode, the debug messages will be logged to the console. The debug messages include the following:

  • All dispatched events.
  • Upload Client options.
  • Other useful information.

Please do not enable debug mode in production because it could lead to a performance issue due to disabled events lazy evaluation.

Attribute: debug

DOM property: debug

Type: boolean

Default: false

qualityInsights Since v1.21.0

Quality insights collects non-personal usage data to help us understand how File Uploader is used and improve its quality

Attribute: quality-insights

DOM property: qualityInsights

Type: boolean

Default: true