mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: cleaning up the datepicker open transition. fixed #5609 - Datepicker: change default opening animation to fadeIn
This commit is contained in:
parent
e780583694
commit
dc646c01fe
4
ui/jquery.ui.datepicker.js
vendored
4
ui/jquery.ui.datepicker.js
vendored
@ -61,7 +61,7 @@ function Datepicker() {
|
|||||||
this._defaults = { // Global defaults for all the date picker instances
|
this._defaults = { // Global defaults for all the date picker instances
|
||||||
showOn: 'focus', // 'focus' for popup on focus,
|
showOn: 'focus', // 'focus' for popup on focus,
|
||||||
// 'button' for trigger button, or 'both' for either
|
// 'button' for trigger button, or 'both' for either
|
||||||
showAnim: 'show', // Name of jQuery animation for popup
|
showAnim: 'fadeIn', // Name of jQuery animation for popup
|
||||||
showOptions: {}, // Options for enhanced animations
|
showOptions: {}, // Options for enhanced animations
|
||||||
defaultDate: null, // Used when field is blank: actual date,
|
defaultDate: null, // Used when field is blank: actual date,
|
||||||
// +/-number for offset from today, null for today
|
// +/-number for offset from today, null for today
|
||||||
@ -88,7 +88,7 @@ function Datepicker() {
|
|||||||
// string value starting with '+' for current year + value
|
// string value starting with '+' for current year + value
|
||||||
minDate: null, // The earliest selectable date, or null for no limit
|
minDate: null, // The earliest selectable date, or null for no limit
|
||||||
maxDate: null, // The latest selectable date, or null for no limit
|
maxDate: null, // The latest selectable date, or null for no limit
|
||||||
duration: '_default', // Duration of display/closure
|
duration: 'fast', // Duration of display/closure
|
||||||
beforeShowDay: null, // Function that takes a date and returns an array with
|
beforeShowDay: null, // Function that takes a date and returns an array with
|
||||||
// [0] = true if selectable, false if not, [1] = custom CSS class name(s) or '',
|
// [0] = true if selectable, false if not, [1] = custom CSS class name(s) or '',
|
||||||
// [2] = cell title (optional), e.g. $.datepicker.noWeekends
|
// [2] = cell title (optional), e.g. $.datepicker.noWeekends
|
||||||
|
Loading…
Reference in New Issue
Block a user