Flatpickr
OverviewOfficial Website
flatpickr is a lightweight and powerful datetime picker.
Import Package
import flatPickr from "vue-flatpickr-component";
Add Package
yarn add vue-flatpickr-component --save
Remove Package
yarn remove vue-flatpickr-component Or you can remove package by removing specific package from package.json
CSS
import "flatpickr/dist/flatpickr.css";
Flatpickr Examples
Title | Example |
---|---|
Basic |
|
DateTime |
|
Human-Friendly Dates |
|
MinDate and MaxDate |
|
Default Date |
|
Disabling Dates |
|
Selecting Multiple Dates |
|
Range |
|
Inline |
|
Timepickr Examples
Title | Example |
---|---|
Basic Timepicker |
|
24-hour Time Picker |
|
Time Picker w/ Limits |
|
Preloading Time |
|
Inline |
|