Skip to main content
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.3.1/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.