DATE_MODE
enum
DatePicker
Active view of OrigamDatePicker: day grid within a month, month list for the year, or year list for decade navigation.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- DATE_MODE.MONTH
- Day-grid view — displays individual days of the selected month.
- DATE_MODE.MONTHS
- Month-list view — displays months of the selected year.
- DATE_MODE.YEARS
- Year-list view — displays a range of years for decade navigation.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Opening the picker in year-selection view