mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
8732ff7a8c
- Fix merge conflict in value method - Fix common unit tests - Fix calendar localization tests - Fix rebase regression: labels update on refresh - Add new pass through options - lint fixes
33 lines
524 B
JavaScript
33 lines
524 B
JavaScript
TestHelpers.commonWidgetTests( "datepicker", {
|
|
defaults: {
|
|
appendTo: null,
|
|
buttons: [],
|
|
disabled: false,
|
|
eachDay: $.noop,
|
|
labels: {
|
|
"datePickerRole": "date picker",
|
|
"nextText": "Next",
|
|
"prevText": "Prev",
|
|
"weekHeader": "Wk"
|
|
},
|
|
locale: "en",
|
|
max: null,
|
|
min: null,
|
|
numberOfMonths: 1,
|
|
position: {
|
|
my: "left top",
|
|
at: "left bottom"
|
|
},
|
|
show: true,
|
|
showWeek: false,
|
|
hide: true,
|
|
|
|
// callbacks
|
|
beforeOpen: null,
|
|
close: null,
|
|
create: null,
|
|
open: null,
|
|
select: null
|
|
}
|
|
});
|