Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

litepicker-module-ranges

wakirin1.8kMITdeprecated0.0.4TypeScript support: included

Use v2 with plugins https://wakirin.github.io/Litepicker/docs/plugins

Litepicker module ranges

litepicker, module, ranges

readme

Litepicker module ranges

Installation

Installing a Litepicker module

npm i litepicker-module-ranges

Non-module environments

<script src="https://cdn.jsdelivr.net/npm/litepicker-module-ranges/dist/index.js"></script>

Usage

If you’re using a bundler, e.g. webpack, you’ll need to import Litepicker.

// first include the Litepicker
import Litepicker from 'litepicker';
// then include this library
import 'litepicker-module-ranges';

Now you can create Litepicker instance with this module.

<script>
var picker = new Litepicker({ 
  element: document.getElementById('litepicker'),
  moduleRanges: true,
  numberOfMonths: 2,
  numberOfColumns: 2,
  singleMode: false,
});
</script>