QrCodeExportOptions
Options for exporting the QR code to a file.
Properties
Section titled "Properties"Optional download
Section titled "download"Whether to open the browser download dialog for the exported file.
download?: boolean Defined in src/components/qr-code/types.ts:47
Optional fileName
Section titled "fileName"The name of the exported file. The extension of the format is appended when the name does not end with it.
fileName?: string Defined in src/components/qr-code/types.ts:31
Optional format
Section titled "format"The output format.
format?: QrCodeExportFormat Defined in src/components/qr-code/types.ts:36
Optional scale
Section titled "scale"Multiplier applied to the size of the component. A 256px QR code with a scale of 2 exports as a 512x512 image.
For svg, the multiplier applies to the width and height attributes while the viewBox is unchanged.
scale?: number Defined in src/components/qr-code/types.ts:42