Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Property.ObjectFit

type ObjectFit =
| "contain"
| "cover"
| "fill"
| "none"
| "scale-down";

§Type

§
Globals | "contain" | "cover" | "fill" | "none" | "scale-down"
[src]