Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/caviar/deps.ts>Canvas#getContext

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
method Canvas.prototype.getContext
Re-export
import { Canvas } from "https://deno.land/x/caviar@2.2.3/deps.ts";

Parameters

type: string
optional
attrs: WebGLContextAttributes