Giter VIP home page Giter VIP logo

air-datepicker's Introduction

Air Datepicker

Lightweight customizable cross-browser jQuery datepicker, built with es5 and css-flexbox. Works in all modern desktop and mobile browsers (tested on Android 4.4+ and iOS8+).

air datepicker image

Install

bower

bower i --save air-datepicker

npm

npm i --save air-datepicker

Usage

$('.my-datepicker').datepicker([options])

Demo and docs

Change log

v2.2.3

  • fixed min,max dates in decade mode

v2.2.2

  • fixed min,max dates handling

v2.2.1

  • changed RegExp for recognizing date parts
  • changed jquery version dependency

v2.2.0

  • added onlyTimepicker option
  • added onShow and onHide callbacks
  • added VERSION field to plugin's prototype
  • now for selecting same date in range mode, you should set {toggleSelected: false}
  • fixed dateFormat method (fixed wrong month name in Hungarian language)
  • fixed second call of onRenderCallback
  • fixed _getCell() throwing exception
  • new language:

v2.1.0

  • added possibility to select single date when {range: true}
  • added support of 12 hours mode in altFieldDateFormat
  • improved work with minDate and maxDate when {timepicker: true}
  • fixed wrong class adding when {range: true}
  • new languages:

v2.0.2

  • fixed dates array in onSelect callback

v2.0.1

  • fixed version for npm

v2.0.0

  • added timepicker (see docs for more info)
  • added possibility to set Date in todayButton
  • global variable Datepicker has been removed, now all placed in $.fn.datepicker
  • improved selectDate method, now one can pass an array of dates to select
  • added npm package
  • fixed issue caused by placeholder on readonly inputs in IE
  • fixed issue when range is true and first selected date is bigger than second
  • added new languages:

v1.2.4

  • fixed '$ is not defined' problem.

v1.2.3

  • fixed dateFormat method.
  • fixed typo in Russian docs, add ids in docs headers.

v1.2.2

  • fixed typo in monthsField
  • added German language (thanks to Ichag)

v1.2.1

  • tests added
  • added Chinese language (thanks to think2011)
  • fixed if '0' is passed to firstDay
  • fixed showOtherYears option
  • fixed onSelect event, when range is true
  • fixed case when range and multipleDates both set to true

v1.2.0

  • add range feature
  • improve keyboard navigation (fixed two focused cells)

v1.1.0

  • add keyboard navigation
  • add classes option to add custom classes
  • add altField option
  • bug fixes

air-datepicker's People

Contributors

t1m0n avatar gergo85 avatar dowglaz avatar xiio avatar liborm85 avatar marioaraque avatar ichag avatar nicooprat avatar robinn1 avatar think2011 avatar grawl avatar

Stargazers

Bagas Topati avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.