是否在最左边显示这是当年第几周 Whether or not to show week numbers to the left of week rows.
清除按钮 If true, displays a “Clear” button at the bottom of the datepicker to clear the input value. If “autoclose” is also set to true, this button will also close the datepicker.
The CSS class to add to this widget's element
禁用日期 Array of date strings or a single date string formatted in the given date format.
Days of the week that should be disabled. Values are 0 (Sunday) to 6 (Saturday). Multiple values should be comma-separated. Example: disable weekends: '06' or '0,6' or [0,6].
Days of the week that should be highlighted. Values are 0 (Sunday) to 6 (Saturday). Multiple values should be comma-separated. Example: highlight weekends: '06' or '0,6' or [0,6].
Date to view when initially opening the calendar. The internal value of the date remains today as default, but when the datepicker is first opened the calendar will open to defaultViewDate rather than today. If this option is not used, “today” remains the default view date.
stantiating the datepicker on a simple div will give an embedded picker that is always visible.
I18N resource.
A locale string, like 'en', 'en-us', 'zh'.
最大日期 The latest date that may be selected; all later dates will be disabled. Date should be in local timezone. String must be parsable with format.
最小日期 The earliest date that may be selected; all earlier dates will be disabled. Date should be in local timezone. String must be parsable with format.
Enable multidate picking. The input’s value (if present) is set to a string generated by joining the dates, formatted, with multidateSeparator.
The string that will appear between dates when generating the input’s value.
方位 A space-separated string consisting of one or two of “left” or “right”, “top” or “bottom”, and “auto” (may be omitted); for example, “top left”, “bottom” (horizontal orientation will default to “auto”), “right” (vertical orientation will default to “auto”), “auto top”. Allows for fixed placement of the picker popup. “orientation” refers to the location of the picker popup’s “anchor”; you can also think of it as the location of the trigger element (input, component, etc) relative to the picker. “auto” triggers “smart orientation” of the picker. Horizontal orientation will default to “left” and left offset will be tweaked to keep the picker inside the browser viewport; vertical orientation will simply choose “top” or “bottom”, whichever will show more of the picker in the viewport.
Render to DOM element.
开始视图 The view that the datepicker should show when it is opened. Accepts: 0 or “days” or “month”, 1 or “months” or “year”, 2 or “years” or “decade”, 3 or “decades” or “century”, and 4 or “centuries” or “millenium”. Useful for date-of-birth datepickers.
Additional CSS styles that will be rendered into an inline style attribute when the widget is rendered.
The string that will appear on top of the datepicker. If empty the title will be hidden.
今日按钮 If true, displays a “Today” button at the bottom of the datepicker to select the current date.
今日高亮 If true, highlights the current date.
选中日期后自动关闭 Whether or not to close the datepicker immediately when a date is selected.