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
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
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.
- minunknown
- Minimum selectable year boundary — years before this value are disabled.
- maxunknown
- Maximum selectable year boundary — years after this value are disabled.
- yearnumber
- Currently active four-digit year. Controls the highlighted tile and the initial scroll position.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Standalone years panel bounded to 2000–2030