Skip to main content

DateControlDefinition

A calendar day, bounded on both sides. Its value is YYYY-MM-DD.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { DateControlDefinition } from "@mapcairn/core";

interface DateControlDefinition extends ControlBase

Properties​

default​

readonly default: DateBound;

The day chosen until the person picks another.

kind​

readonly kind: "date";

Tells a date control from the other kinds.

max​

readonly max: DateBound;

The latest day that can be chosen.

min​

readonly min: DateBound;

The earliest day that can be chosen.

See also​

Source: packages/core/src/layers/definition.ts:97