Flatpickr is a lightweight and powerful datetime picker. Svelte Flatpickr Plus is a wrapper for Flatpickr with some extra features.
useLocaleYear
option.resetMoveDefault
and resetToDefault
option.Svelte Flatpickr Plus coming with 1 powerful action and you can name it what ever you want.
<script>
import your_action_name from 'svelte-flatpickr-plus';
</script>
npm i svelte-flatpickr-plus
or
pnpm i svelte-flatpickr-plus
you can import any actions and passing options to that actions that all you need to do
example for build date picker element
<script>
import svlatepickr from 'svelte-flatpickr-plus';
</script>
<input name="datepicker" use:svlatepickr />
check it on the website for more information and advance usage >> HERE <<
IE9 and up, Edge, iOS Safari 6+, Chrome 8+, Firefox 6+
flatpickr will never change its license, pester users for donations, or engage in other user-hostile behavior.
Nevertheless, if you enjoyed working with this library or if its made your life easier, you can buy them a cup of coffee :)