Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.ImageBitmap

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.ImageBitmap
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { ImageBitmap } = dom;

Properties

readonly
height: number

Returns the intrinsic height of the image, in CSS pixels.

readonly
width: number

Returns the intrinsic width of the image, in CSS pixels.

Methods

close(): void

Releases imageBitmap's underlying bitmap data.