Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

Releases: fengyuanchen/datepicker

v0.5.3

30 May 03:48
Compare
Choose a tag to compare
  • Highlight the current year and month.
  • Highlight the picked year and month.

v0.5.2

08 Apr 12:07
Compare
Choose a tag to compare
  • Fixed year and month picking issue.

v0.5.1

25 Mar 10:13
Compare
Choose a tag to compare
  • Hide the picker when the target input element is blurred (#54).
  • Hide the picker when click the trigger element again.
  • Fixed some issues in inline mode.

v0.5.0

11 Feb 13:47
Compare
Choose a tag to compare
  • Added a new option highlightedClass for highlight today (#28).
  • Fixed the position of picker panel (#49).

v0.4.0

15 Oct 04:38
Compare
Choose a tag to compare
  • Rename autoshow option to autoShow.
  • Rename autohide option to autoHide.
  • Rename autopick option to autoPick.
  • Improved the priority of language options.
  • Fixed the issue of date view updating (#33).

v0.3.1

11 Jan 04:28
Compare
Choose a tag to compare
  • Fixed the issue of startDate option (#20)

v0.3.0

15 Dec 06:01
Compare
Choose a tag to compare
  • Change the default value of zIndex option from 1 to 1000
  • Simplify JavaScript code
  • Optimize CSS code styles

v0.2.2

10 Dec 13:48
Compare
Choose a tag to compare
  • Fixed the issue of options overriding (#15)
  • Fixed the error of next view month

v0.2.1

26 Oct 02:27
Compare
Choose a tag to compare
  • Fixed the error of month picker (#14).

v0.2.0

18 Oct 06:13
Compare
Choose a tag to compare
  • Supports custom events
  • Supports to set start view date and end view date
  • Improved i18n (internationalization)
  • Improved placement of the datepicker
  • Improved template

Options

  • Added 10 options: autoshow, autopick, offset, language, startDate, endDate, mutedClass, show, hide, pick
  • Renamed autoclose to autohide
  • Renamed dateFormat to format
  • Renamed viewStart to startView
  • Renamed showMonthAfterYear to yearFirst
  • Renamed selectedClass to pickedClass
  • Renamed isDisabled to filter

Methods

  • Added 11 methods: pick, reset, getMonthName, getDayName, getDate, setDate, setStartDate, setEndDate, parseDate, formatDate, destroy
  • Removed 2 methods: enable, disable

Events

  • Added 3 events: show.datepicker, hide.datepicker, pick.datepicker