mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
34 lines
512 B
JavaScript
34 lines
512 B
JavaScript
define( [
|
|
"lib/common",
|
|
"ui/calendar",
|
|
"globalize-locales"
|
|
], function( common ) {
|
|
|
|
common.testWidget( "calendar", {
|
|
defaults: {
|
|
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,
|
|
showWeek: false,
|
|
value: null,
|
|
|
|
// callbacks
|
|
create: null,
|
|
select: null
|
|
}
|
|
});
|
|
|
|
} );
|