Skip to content

API > downloadDataUrlAsImage

Function: downloadDataUrlAsImage()

downloadDataUrlAsImage(dataUrl, filename): void

将 DataUrl 下载为图片

Parameters

dataUrl: string

filename: string

Source

packages/core/src/utils/screenshots.ts:9


Generated using typedoc-plugin-markdown and TypeDoc