API reference: @salmonui/charts/barcode
QRCodeApitype
import type { QRCodeApi } from '@salmonui/charts/barcode';type QRCodeApi = BarcodeApi;
| Name | Signature | Description |
|---|---|---|
elementinherited | element: SVGSVGElement | null; | The root |
toSVGStringinherited | toSVGString: () => string; | Standalone SVG markup; works without a DOM (server, tests). |
toBlobinherited | toBlob: (format?: BarcodeImageFormat | undefined, options?: Omit<BarcodeExportOptions, "fileName" | "format"> | undefined) => Promise<...>; | |
toDataURLinherited | toDataURL: (format?: BarcodeImageFormat | undefined, options?: Omit<BarcodeExportOptions, "fileName" | "format"> | undefined) => Promise<...>; | |
exportinherited | export: (options?: BarcodeExportOptions | undefined) => Promise<void>; | Downloads the symbol; settles after the download started. |