Natural Pacifist Manatees

    jdatepicker

    1.0.0 • Public • Published

    jdatepicker

    A Javascript solar (jalali) datepicker for HTML.

    jdatepicker demo

    Installation

    Install via NPM:

    npm install jdatepicker

    Install via CDN

    <script src="https://unpkg.com/jdatepicker@1.0.0/src/jdatepicker.js"></script>

    Usage

    • You do not need to require if you are using via CDN.
    const { jDatePicker } = require('jdatepicker')
    
    jDatePicker('inputID') // inputID is the id of the input element in HTML.
    • You can pass a second optional paramater for customizing background colors and month names.
    jDatePicker('inputID', {
        headerColor: '#f44336',
        bodyColor: '#fff',
        dariMonth: false     // to show iranian month names.
    })

    Contribute

    Report bugs and suggest feature in issue tracker. Feel free to Fork and send Pull Requests.

    License

    MIT

    Install

    npm i jdatepicker

    DownloadsWeekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    13.1 kB

    Total Files

    4

    Last publish

    Collaborators

    • habibmhamadi