Package Exports
- @management-and-computer-consultants/nepali-date-picker
- @management-and-computer-consultants/nepali-date-picker/dist/nepaliDatePicker.min.js
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 (@management-and-computer-consultants/nepali-date-picker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Nepali Date Picker
Nepali Date Picker jQuery Plugin for everyone. 🇳🇵
Installation
npm install nepali-date-pickerDemo and Documentation
https://leapfrogtechnology.github.io/nepali-date-picker/demo/
Usage
Include jQuery, nepaliDatePicker.min.js and nepaliDatePicker.min.css in your HTML.
<!-- this should go after your </body> -->
<script src="https://code.jquery.com/jquery-3.7.1.slim.min.js" crossorigin="anonymous"></script>
<script src="https://unpkg.com/nepali-date-picker@2.0.2/dist/nepaliDatePicker.min.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://unpkg.com/nepali-date-picker@2.0.2/dist/nepaliDatePicker.min.css
crossorigin="anonymous" />Add Input Element
<input type="text" value="" name="date" class="date-picker" />Initialize Date Picker
$('.date-picker').nepaliDatePicker({
dateFormat: '%D, %M %d, %y',
closeOnDateSelect: true,
minDate: 'सोम, जेठ १०, २०७३',
maxDate: 'मंगल, जेठ ३२, २०७३'
});Contributing
Install
npm install
npm run updateBuild
npm run buildTest
npm test