Web SDKv1.0.0

export.askOnDownload

Toolbar Download asks first: file name, pages (all, current, or a range such as 1-3, 5), and the flatten decision, with the approximate size under it. false saves straight away with defaultFilename / flatten (never locking in a signed document). The progress card and the "Saved" confirmation still show. The Print button's question is print.ask.
booleandefault true

Example

askOnDownloadTypeScript
export: { askOnDownload: false }

More in Export