All Projects β†’ t1m0n β†’ Air Datepicker

t1m0n / Air Datepicker

Licence: mit
Lightweight, dependency-free JavaScript datepicker.

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to Air Datepicker

Angular Moment Picker
Angular Moment Picker is an AngularJS directive for date and time picker using Moment.js.
Stars: ✭ 536 (-71.98%)
Mutual labels:  calendar, timepicker, datepicker
React Datepicker
πŸ“… React DatePicker Library (Flexible, Reusable)
Stars: ✭ 165 (-91.37%)
Mutual labels:  calendar, timepicker, datepicker
Vue Ctk Date Time Picker
VueJS component to select dates & time, including a range mode
Stars: ✭ 707 (-63.04%)
Mutual labels:  calendar, timepicker, datepicker
Zebra datepicker
A super-lightweight, highly configurable, cross-browser date / time picker jQuery plugin
Stars: ✭ 367 (-80.82%)
Mutual labels:  calendar, timepicker, datepicker
React Numpad
A numpad for number, date and time, built with and for React.
Stars: ✭ 117 (-93.88%)
Mutual labels:  calendar, timepicker, datepicker
Datetimepicker
This is a custom android holo datepicker timepicker
Stars: ✭ 56 (-97.07%)
Mutual labels:  timepicker, datepicker
Horizontal Calendar
A material horizontal calendar view for Android based on RecyclerView
Stars: ✭ 1,155 (-39.62%)
Mutual labels:  calendar, datepicker
Vue Draggablecal
Not your ordinary datepicker. A Vuejs draggable date selector with a fresh responsive design, mobile ready and 0 dependencies, 17kb gzipped
Stars: ✭ 79 (-95.87%)
Mutual labels:  calendar, datepicker
Angular Bootstrap Datetimepicker
Native Angular date/time picker component styled by Twitter Bootstrap
Stars: ✭ 1,289 (-32.62%)
Mutual labels:  timepicker, datepicker
React Calendar
A React Native inspired date list renderer
Stars: ✭ 34 (-98.22%)
Mutual labels:  calendar, datepicker
Core Components
Accessible and lightweight Javascript components
Stars: ✭ 85 (-95.56%)
Mutual labels:  calendar, datepicker
Datetimepicker
πŸ“… Date and Time Picker
Stars: ✭ 90 (-95.3%)
Mutual labels:  timepicker, datepicker
Laydate
layDate(ζ—₯ζœŸδΈŽζ—Άι—΄η»„δ»ΆοΌ‰ 是 layui η‹¬η«‹η»΄ζŠ€ηš„δΈ‰ε€§η»„δ»ΆδΉ‹δΈ€
Stars: ✭ 1,066 (-44.28%)
Mutual labels:  calendar, datepicker
Persianrangedatepicker
Persian range date picker for android.
Stars: ✭ 48 (-97.49%)
Mutual labels:  timepicker, datepicker
Circularpicker
CircularPicker is helpful for creating a controller aimed to manage any calculated parameter.
Stars: ✭ 73 (-96.18%)
Mutual labels:  timepicker, datepicker
Ng Bootstrap
Angular powered Bootstrap
Stars: ✭ 7,872 (+311.5%)
Mutual labels:  timepicker, datepicker
Persiandatepicker
An Android DatePicker for Persian Calendar
Stars: ✭ 86 (-95.5%)
Mutual labels:  calendar, datepicker
Hibiscus.js
Native Angular directives for Bootstrap4
Stars: ✭ 115 (-93.99%)
Mutual labels:  timepicker, datepicker
Pg Calendar
πŸ“† beautiful and eidetic date picker
Stars: ✭ 109 (-94.3%)
Mutual labels:  calendar, datepicker
React Native Dates
React Native date / daterange picker and calendar
Stars: ✭ 145 (-92.42%)
Mutual labels:  calendar, datepicker

πŸŽ‰ New version released! πŸŽ‰

Air Datepicker

Lightweight, dependency-free, fast, customizable datepicker written in pure JavaScript. Works in all modern browsers which supports native css variables.

air datepicker image

Install

npm i air-datepicker

Usage

import AirDatepicker from 'air-datepicker'
import 'air-datepicker/air-datepicker.css'

new AirDatepicker('#el' [, options]);

Demo and docs

Recent updates

3.1.0

  • added lazy rendering - now inner components of datepicker will be created only when it will be visible, and will be destroyed when datepicker is hidden
  • improved position - now it can be function which allows you to perform advanced positioning using third-party libraries such as popperjs or manually
  • added isMobile option, which allows showing Air Datepicker as modal window on mobile devices
  • added visiblie option, if it is set to true then calendar will be visible at the start
  • changed dateFormat - as function it now handles all dates at once, instead of each date separately
  • fixed field names in onSelect and onRenderCell options: type -> cellType, dp -> datepicker
  • fixed typings
  • fixed closet function, thanks to @hreyeslo in #445
  • added Turkish locale, thanks to @ozkanozcan in #447
  • added opportunity to set attributes when creating custom buttons, thanks to @khidirbekov in #448
  • added Thai locale, thanks to @boatkung in #453

Version 3.0.0 highlights

It 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! πŸ₯³

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:

  • no more jQuery
  • improve rendering process - remove redundant cell render when selecting date, which gave a large speed boost compared to the old version
  • date format tokens now use Unicode Technical Standard
  • TypeScript support
  • added selectedDates option, to be able to select dates from the start
  • added a possibility to create custom buttons
  • now one could change selected range by dragging dates
  • added container option which allows you to place datepicker in a custom element
  • navTitles can receive a function and could render dynamically
  • dateFormat now can receive a function
  • onSelect and onRenderCell callbacks are now receive a single object as an argument instead of multiple parameters
  • selectDate now receives second parameter with options
  • onChangeMonth, onChangeYear, onChangeDecades are replaced with single option onChangeViewDate
  • localization now must be provided as an object instead of string as it was before

Contribution

  • To run project run npm i, then npm run dev:serve.
  • If you want to report a bug, please provide steps and code to reproduce it or create a live example. You could use this template for creating sandbox
  • If you have a question please ask it on StackOverflow with tag air-datepicker
  • If you have a proposal or PR please submit it to the main branch - please follow code style according to .eslint configuration. Also make sure that your effort is aligned with project roadmap - my goal is to keep datepicker clean and lightweight (under 15kb) without overcomplications or narrowly focused features

Thank you! 😊

License

Air Datepicker is MIT licensed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].