New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

light-datepicker

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

light-datepicker

Light DatePicker

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

Light Datepicker

Ultra light and minimalist Datepicker with zero dependencies.

Preview

Screenshot

Install

npm install light-datepicker --save

Basic Usage

// HTML
<link rel="stylesheet" type="text/css" href="node_modules/light-datepicker/dist/datepicker.min.css">

<script src="node_modules/light-datepicker/dist/datepicker.min.js"></script>
// Javascript
const single = new datepicker.DatePicker({ selector: '#datepicker' });

const range = new datepicker.DatePickerRange({
    leftSelector: '#left-datepicker',
    rightSelector: '#right-datepicker',
});

single.calendar.on('clickDate', event => console.log('single:date', event.detail));
range.leftDatePicker.calendar.on('clickDate', event => console.log('left:date', event.detail));
range.rightDatePicker.calendar.on('clickDate', event => console.log('right:date', event.detail));

Run Example

git clone git@github.com:evangilo/light-datepicker.git

npm install

npm start

Open url in your browser: http://localhost:8080

License Light Datepicker is released under the MIT License. See LICENSE file for details.

Browser Support

@TODO

Keywords

Calendar

FAQs

Package last updated on 10 Sep 2016

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