jquery-ui/tests/unit/datepicker/common.js
2015-08-20 09:48:11 -04:00

43 lines
663 B
JavaScript

define( [
"lib/common",
"ui/widgets/datepicker",
"globalize-locales"
], function( common ) {
common.testWidget( "datepicker", {
defaults: {
appendTo: null,
buttons: [],
classes: {},
disabled: false,
dateFormat: { date: "short" },
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
}
});
} );