Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface CanvasKitInitOptions
import { type CanvasKitInitOptions } from "https://deno.land/x/canvaseno@v1.0.2/types.ts";

Methods

locateFile(file: string): string

This callback will be invoked when the CanvasKit loader needs to fetch a file (e.g. the blob of WASM code). The correct url prefix should be applied.