Skip to content

函数: getResvgWasmUrl()

ts
function getResvgWasmUrl(): URL;

定义于: index.ts:262

resvg-wasm 二进制 URL(bundler 可据此拷贝/打包)。

返回

URL

相对于当前模块解析的 wasm URL

示例

ts
const wasmUrl = getResvgWasmUrl();
console.log(wasmUrl.href);