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

MediaProperties

import type { MediaProperties } from "https://googleapis.deno.dev/v1/forms:v1.ts";

Properties of the media.

interface MediaProperties {
alignment?:
| "ALIGNMENT_UNSPECIFIED"
| "LEFT"
| "RIGHT"
| "CENTER";
width?: number;
}

§Properties

§
alignment?: "ALIGNMENT_UNSPECIFIED" | "LEFT" | "RIGHT" | "CENTER"
[src]

Position of the media.

§
width?: number
[src]

The width of the media in pixels. When the media is displayed, it is scaled to the smaller of this value or the width of the displayed form. The original aspect ratio of the media is preserved. If a width is not specified when the media is added to the form, it is set to the width of the media source. Width must be between 0 and 740, inclusive. Setting width to 0 or unspecified is only permitted when updating the media source.