This library also includes ie11-custom-properties.
Installing a Litepicker module
npm i litepicker-polyfills-ie11
Non-module environments
<script src="https://cdn.jsdelivr.net/npm/litepicker-polyfills-ie11/dist/index.js"></script>
If you’re using a bundler, e.g. webpack, you’ll need to import Litepicker.
// Include this library first
import 'litepicker-polyfills-ie11';
// then import Litepicker
import Litepicker from 'litepicker';
Now you can create Litepicker instance.
<script>
var picker = new Litepicker({
element: document.getElementById('litepicker'),
});
</script>