Skip to content

files.fileDownload.useModernApi ​

← Back to the parameter index

Asks the browser for a save dialog (File System Access API) once the file is downloaded, where supported and while the click still counts as a user action, otherwise saves normally; the file is always read from the same API endpoint.

This is a compact property lookup. Use the contextual guide below for the complete feature model, configuration sequence, interactions, examples, and limitations.

Context
files panel
Accepted value
boolean
Required
No
Default
false

User scenarios

  • Let users choose where to save a downloaded file.

Related parameters

Contextual guide and evidence

  • Contextual guide: Open the complete human guide
  • Source: apps/panel/src/features/panels/variants/files/components/File.client.vue, symbol useModernApi
  • Example coverage: Complete — The Files fixture explicitly enables the modern browser download option and documents its false default.
  • Demo coverage: Partial — The Files tab enables useModernApi and exposes real metadata and byte endpoints, but native browser save behavior remains browser-capability-dependent. Open the runnable demo .

The panel source named above remains authoritative for runtime behavior. This secondary reference page is generated from the reviewed parameter matrix and does not replace the contextual guide.