🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

jquery-datepicker

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-datepicker

Just the datepicker lib from jquery-ui 1.12.1

latest
npmnpm
Version
1.12.3
Version published
Weekly downloads
7.7K
14.93%
Maintainers
1
Weekly downloads
 
Created
Source

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'];
});

Keywords

jquery

FAQs

Package last updated on 25 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts