Reference
/animate
import { … } from "@johnmorrisdotca/koyomi-calendars/animate";
Exports
| Name | Kind | What it is |
|---|---|---|
addDays | function | The date days after (or before, when negative) date: across months, years and leap days. |
CALENDAR_FLIP_LABELS | constant | Each flip's name for a picker, in English and in Japanese. |
CALENDAR_FLIPS | constant | The four ways a page turns: tear-down, fly-up, rip-corner and flip-down. |
CalendarFlip | type | One of the names in CALENDAR_FLIPS. |
compareDays | function | Which way a turn from one day to another goes. |
FLIP_KEYFRAMES | constant | What the sheet does as it goes: from lying on the pad (the first frame) to gone (the last). |
flipCalendar | function | Turns the icon in host from one date to another. |
FlipDate | type | A day to show or turn to: a year, a month 1 to 12 and a day of the month. |
FlipOptions | type | What flipCalendar takes: how to draw a date, the two dates, and how the page turns. |
nextDay | function | The day after date. |
previousDay | function | The day before date. |
reducedMotion | function | Does the reader ask for less motion? |