IDatePickerMonthsProps

interface
Date Picker

Props for the months-grid panel that lets the user pick a month — displays a 4x3 grid of month tiles, optionally bounded by min/max. Extends ICommonsComponentProps, IColorProps and IDimensionProps.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

min
unknown
Minimum selectable date boundary — months before this date are disabled.
max
unknown
Maximum selectable date boundary — months after this date are disabled.
month
number
Currently active zero-based month index (0 = January … 11 = December). Controls the highlighted tile.
year
number
Four-digit year displayed above the grid and used to compute min/max constraints.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Standalone months panel

html