JSPM

jquery-datepicker

1.12.3
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 12781
    • Score
      100M100P100Q132710F
    • License MIT

    Just the datepicker lib from jquery-ui 1.12.1

    Package Exports

    • jquery-datepicker
    • jquery-datepicker/i18n/jquery.ui.datepicker-en-NZ
    • jquery-datepicker/i18n/jquery.ui.datepicker-ja

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jquery-datepicker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

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