Plugins
Functionality requested by users that doesn’t make it to core usually ends up in a plugin. The repo comes with a few plugins.
Provides a visual cue for users after selecting either:
- date + time
- multiple dates
Here are all the available options:
{
confirmText: "OK ",
showAlways: false,
theme: "light" // or "dark"
For selecting a week.
flatpickr({
"plugins": [new rangePlugin({ input: "#secondRangeInput"})]
});
Custom minTime and maxTime per date.
Show a month-only calendar view
{
shorthand: true, //defaults to false
dateFormat: "m.y", //defaults to "F Y"
altFormat: "F Y", //defaults to "F Y"
theme: "dark" // defaults to "light"
})
};