New to KendoReactStart a free 30-day trial

saveAs

Function

Definition

Package:@progress/kendo-file-saver

Prompts the user to save a file with a specified name and content.

Under the hood, saveAs either creates a link that is clicked or a form that is submitted to the proxy end point if a proxy is used.

See Saving Files documentation.

Parameters:datastring | Blob

The content of the file as a Base64-encoded Data URI or a Blob.

fileNamestring

The desired file name.

options?SaveOptions

An optional proxy configuration to use during the file-saving operation.

In this article
Definition
Not finding the help you need?
Contact Support