Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

Latest commit

 

History

History
38 lines (28 loc) · 759 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 759 Bytes

Litepicker polyfills IE11

This library also includes ie11-custom-properties.

Installation

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>

Usage

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>