カレンダーライブラリ flatpickr.js で、月を横に複数個並べるオプション
1571 ワード
flatpickr.js
Documentation: https://flatpickr.js.org/
flatpickr.js を使いつつ、一度に複数月を表示する
ライブラリの使い方は割愛しますが、以下オプションで設定できます。
※ すでにリリースされていますが、ドキュメントに記載がありませんでした。
{
showMonths: 3
}
DEMO
document.querySelector(".flatpickr").flatpickr({
inline: true,
showMonths: 3,
});
ちなみに
jQuery UI の Datepicker でいう numberOfMonths
です。
Author And Source
この問題について(カレンダーライブラリ flatpickr.js で、月を横に複数個並べるオプション), 我々は、より多くの情報をここで見つけました https://qiita.com/mtmtkzm/items/9a0414557e7117d39ccb著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .