Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
air-datepicker
Advanced tools
Lightweight, dependency free, fast, customizable datepicker written in pure JavaScript. ![air datepicker image](https://github.com/t1m0n/air-datepicker/raw/master/docs/img/promo-img.png)
:tada: New version released! :tada:
Lightweight, dependency-free, fast, customizable datepicker written in pure JavaScript. Works in all modern browsers which supports native css variables.
npm i air-datepicker
import AirDatepicker from 'air-datepicker'
import 'air-datepicker/air-datepicker.css'
new AirDatepicker('#el' [, options]);
onRenderCell
#502, read docsonRenderCell
option #502onClickDayName
option, #459silent
param to clear
method, #477update
method with view
parameter on hidden calendar, #476formatDate
method, #491It is been a while since the last release, a lot of work has been done, and I'm glad to finally present a new version of Air Datepicker.
The main goal was to remove jQuery dependency, and I'm happy to announce that Air Datepicker is no longer need any dependency, hurray! :partying_face:
Now it's written in ES6, uses native css variables for easy customization, and it's all built with webpack.
Soooo, here is the full list of changes:
selectedDates
option, to be able to select dates from the startcontainer
option which allows you to place datepicker in a custom elementnavTitles
can receive a function and could render dynamicallydateFormat
now can receive a functiononSelect
and onRenderCell
callbacks are now receive a single object as an argument instead of multiple parametersselectDate
now receives second parameter with optionsonChangeMonth
, onChangeYear
, onChangeDecades
are replaced with single option onChangeViewDate
npm i
, then npm run dev:serve
.air-datepicker
Thank you! :blush:
Air Datepicker is MIT licensed.
v3.4.0
onFocus
and onBeforeSelect
grant you more control over range selection behaviour and more #526getViewDates()
allows you to get all dates that should be currently displayed in calendar #536toggleSelected
now can be a function #534clear
method #546FAQs
Lightweight, dependency free, fast, customizable datepicker written in pure JavaScript. ![air datepicker image](https://github.com/t1m0n/air-datepicker/raw/master/docs/img/promo-img.png)
The npm package air-datepicker receives a total of 22,029 weekly downloads. As such, air-datepicker popularity was classified as popular.
We found that air-datepicker demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.