This package has been deprecated

Author message:

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

litepicker-module-ranges

0.0.4 • Public • Published

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>

Package Sidebar

Install

npm i litepicker-module-ranges

Weekly Downloads

246

Version

0.0.4

License

MIT

Unpacked Size

11.9 kB

Total Files

6

Last publish

Collaborators

  • waki