- all features of Flatpickr
- Svelte Flatpickr Plus is just a svelte actions that you can using with use:action directive of svelte on input element with any class or style
- You can using your locale years (e.g. Buddhist Era) with useLocaleYear option.
- You can setting a reset behavior with resetMoveDefault and resetToDefault option.
- On a calendar, year input has been replace with year dropdown element for easy to select year.
- Have theme changer function to calling and change a theme of calendar easier.
Actions
Svelte Flatpickr Plus coming with 1 powerful action and you can name it what ever you want.
``html
`
Installation
npm i svelte-flatpickr-plus
or
pnpm i svelte-flatpickr-plus
Basic Usage
you can import any actions and passing options to that actions that all you need to do
example for build date picker element
`html
``
Advance Usage ?
check it on the website for more information and advance usage >> HERE <<