Flatpickr
OverviewOfficial Website
flatpickr is a lightweight and powerful datetime picker.
Import Package
<!--Flatepicker-->
import Flatpickr from 'svelte-flatpickr';
Add Package
yarn add svelte-flatpickr --save
Remove Package
yarn remove svelte-flatpickr ( you can remove package by removing specific package from package.json )
Flatpickr Examples
Title | HTML |
---|---|
Basic |
|
DateTime |
|
Human-Friendly Dates |
|
MinDate and MaxDate |
|
Default Date |
|
Disabling Dates |
|
Selecting Multiple Dates |
|
Range |
|
Inline |
|
Timepickr Examples
Title | HTML |
---|---|
Basic Timepicker |
|
24-hour Time Picker |
|
Time Picker w/ Limits |
|
Preloading Time |
|
Inline |
|