IDatePickerYearsProps

interface
Date Picker

Props for the years-grid panel that lets the user pick a year — displays a scrollable list of year tiles, optionally bounded by min/max. Extends ICommonsComponentProps, IColorProps and IDimensionProps.

TypeScript

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

min
unknown
Minimum selectable year boundary — years before this value are disabled.
max
unknown
Maximum selectable year boundary — years after this value are disabled.
year
number
Currently active four-digit year. Controls the highlighted tile and the initial scroll position.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Standalone years panel bounded to 2000–2030

html