|
50 | 50 | field: this.$el, // bind the datepicker to a form field |
51 | 51 | // trigger: , // use a different element to trigger opening the datepicker, see [trigger example][] (default to `field`) |
52 | 52 | bound: true, // automatically show/hide the datepicker on `field` focus (default `true` if `field` is set) |
53 | | - position: 'bottom left', // preferred position of the datepicker relative to the form field, e.g.: `top right`, `bottom right` **Note:** automatic adjustment may occur to avoid datepicker from being displayed outside the viewport, see [positions example][] (default to 'bottom left') |
| 53 | + position: "bottom left", // preferred position of the datepicker relative to the form field, e.g.: `top right`, `bottom right` **Note:** automatic adjustment may occur to avoid datepicker from being displayed outside the viewport, see [positions example][] (default to "bottom left") |
54 | 54 | reposition: true, // can be set to false to not reposition datepicker within the viewport, forcing it to take the configured `position` (default: true) |
55 | 55 | // container: , // DOM node to render calendar into, see [container example][] (default: undefined) |
56 | 56 | // format: , // the default output format for `.toString()` and `field` value (requires [Moment.js][moment] for custom formatting) |
57 | | - // formatStrict: , // the default flag for moment's strict date parsing (requires [Moment.js][moment] for custom formatting) |
| 57 | + // formatStrict: , // the default flag for moment"s strict date parsing (requires [Moment.js][moment] for custom formatting) |
58 | 58 | // defaultDate: , // the initial date to view when first opened |
59 | 59 | // setDefaultDate: , // make the `defaultDate` the initial selected value |
60 | 60 | firstDay: 1, // first day of the week (0: Sunday, 1: Monday, etc) |
|
66 | 66 | showWeekNumber: false, // show the ISO week number at the head of the row (default `false`) |
67 | 67 | isRTL: false, // reverse the calendar for right-to-left languages |
68 | 68 | i18n: { |
69 | | - previousMonth : 'Previous Month', |
70 | | - nextMonth : 'Next Month', |
71 | | - months : ['January','February','March','April','May','June','July','August','September','October','November','December'], |
72 | | - weekdays : ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'], |
73 | | - weekdaysShort : ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'] |
| 69 | + previousMonth : "Previous Month", |
| 70 | + nextMonth : "Next Month", |
| 71 | + months : ["January","February","March","April","May","June","July","August","September","October","November","December"], |
| 72 | + weekdays : ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], |
| 73 | + weekdaysShort : ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"] |
74 | 74 | }, // language defaults for month and weekday names (see internationalization below) |
75 | 75 | // yearSuffix: , // additional text to append to the year in the title |
76 | 76 | showMonthAfterYear: false, // render the month after year in the title (default `false`) |
|
0 commit comments