Miss any of our Open RFC calls?Watch the recordings here! »

jquery-datepicker

1.12.3 • Public • Published

jquery-datepicker

Just the datepicker lib from jquery-ui 1.12.1

The module itself and translation files are split out into factory modules for smaller builds

import $ from 'jquery';
import datepickerFactory from 'jquery-datepicker';
import datepickerJAFactory from 'jquery-datepicker/i18n/jquery.ui.datepicker-ja';
 
// Just pass your jquery instance and you're done
datepickerFactory($);
datepickerJAFactory($);
 
$(function() {
  $('#datepicker').datepicker();
  $.datepicker.regional['ja'];
});

If you aren't using a bundler, jqueryDatepicker will become an available global factory once the main file is consumed.

require('jquery-datepicker');
 
$(function() {
  jqueryDatepicker($);
  $('#datepicker').datepicker();
  $.datepicker.regional['ja'];
});
 

Install

npm i jquery-datepicker

DownloadsWeekly Downloads

6,226

Version

1.12.3

License

MIT

Unpacked Size

276 kB

Total Files

153

Last publish

Collaborators

  • avatar