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

Option

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

An option for a Choice question.

interface Option {
goToAction?:
| "GO_TO_ACTION_UNSPECIFIED"
| "NEXT_SECTION"
| "RESTART_FORM"
| "SUBMIT_FORM";
goToSectionId?: string;
image?: Image;
isOther?: boolean;
value?: string;
}

§Properties

§
goToAction?: "GO_TO_ACTION_UNSPECIFIED" | "NEXT_SECTION" | "RESTART_FORM" | "SUBMIT_FORM"
[src]

Section navigation type.

§
goToSectionId?: string
[src]

Item ID of section header to go to.

§
image?: Image
[src]

Display image as an option.

§
isOther?: boolean
[src]

Whether the option is "other". Currently only applies to RADIO and CHECKBOX choice types, but is not allowed in a QuestionGroupItem.

§
value?: string
[src]

Required. The choice as presented to the user.