IDatePickerProps

interface
Date Picker

Full props surface for OrigamDatePicker — aggregates color, border, elevation, spacing, picker controls, month/months/years and header sub-interfaces into the top-level component contract. Supports single, multiple and range v-model values.

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.

modelValue
string | Date | Array<string | Date>
The selected date(s). A single string or Date for single/range mode; an array for multiple mode.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Basic date picker with v-model

html