Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/question/checkbox.ts>ObjectOption

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
interface ObjectOption
import { type ObjectOption } from "https://deno.land/x/netzo@0.5.63/deps/question/checkbox.ts";

Properties

optional
id: string
value: T

The value that is going to be returned if this item is selected.

optional
dependencies: string | number | (string | number)[]

A label, index, or a list of labels and indexes for the items that this item requires to be selected.

optional
selected: boolean

Set whether this option should be selected by default

optional
display: string

A string that will represent the value instead of the label when exiting the control.

optional
tags: string[]

A list of hidden tags that can also be used when filtering.