jquery-ui/tests/unit/datepicker/common.js

43 lines
663 B
JavaScript
Raw Normal View History

define( [
"lib/common",
2015-08-20 13:48:11 +00:00
"ui/widgets/datepicker",
"globalize-locales"
], function( common ) {
common.testWidget( "datepicker", {
defaults: {
appendTo: null,
2014-06-19 22:13:20 +00:00
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
}
});
} );