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

Item

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

A single item of the form. kind defines which kind of item it is.

interface Item {
description?: string;
imageItem?: ImageItem;
itemId?: string;
pageBreakItem?: PageBreakItem;
questionGroupItem?: QuestionGroupItem;
questionItem?: QuestionItem;
textItem?: TextItem;
title?: string;
videoItem?: VideoItem;
}

§Properties

§
description?: string
[src]

The description of the item.

§
imageItem?: ImageItem
[src]

Displays an image on the page.

§
itemId?: string
[src]

The item ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.

§
pageBreakItem?: PageBreakItem
[src]

Starts a new page with a title.

§
questionGroupItem?: QuestionGroupItem
[src]

Poses one or more questions to the user with a single major prompt.

§
questionItem?: QuestionItem
[src]

Poses a question to the user.

§
textItem?: TextItem
[src]

Displays a title and description on the page.

§
title?: string
[src]

The title of the item.

§
videoItem?: VideoItem
[src]

Displays a video on the page.