本文へ移動

Koyomi Calendars暦

カレンダーのページをSVGで描きます。1日を18種類のアイコンで、1か月をポスターや卓上カレンダーで、そして日めくりも使えます。

「暦」(こよみ) は、カレンダーのことです。 名前について(英語)

目次

リファレンス

/animate

import { … } from "@johnmorrisdotca/koyomi-calendars/animate";

リファレンスの説明と例は英語です。見出しと目次は日本語です。

エクスポート

名前種類概要
addDays関数The date days after (or before, when negative) date: across months, years and leap days.
CALENDAR_FLIP_LABELS定数Each flip's name for a picker, in English and in Japanese.
CALENDAR_FLIPS定数The four ways a page turns: tear-down, fly-up, rip-corner and flip-down.
CalendarFlip型One of the names in CALENDAR_FLIPS.
compareDays関数Which way a turn from one day to another goes.
FLIP_KEYFRAMES定数What the sheet does as it goes: from lying on the pad (the first frame) to gone (the last).
flipCalendar関数Turns the icon in host from one date to another.
FlipDate型A day to show or turn to: a year, a month 1 to 12 and a day of the month.
FlipOptions型What flipCalendar takes: how to draw a date, the two dates, and how the page turns.
nextDay関数The day after date.
previousDay関数The day before date.
reducedMotion関数Does the reader ask for less motion?

ソースを見るGitHub で編集@johnmorrisdotca/koyomi-calendars 0.3.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。