IDateAdapter

interface
Date & Time

Full date-manipulation adapter contract. Implement this interface to plug any date library (date-fns, Luxon, Day.js, native Date) into Origam date components.

TypeScript

Definition

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

typescript

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Implementing a minimal date adapter

typescript