defaultOptions.js 885 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // config options updatable by setOptions() and their default values
  2. const defaultOptions = {
  3. autohide: false,
  4. beforeShowDay: null,
  5. beforeShowDecade: null,
  6. beforeShowMonth: null,
  7. beforeShowYear: null,
  8. calendarWeeks: false,
  9. clearBtn: false,
  10. dateDelimiter: ',',
  11. datesDisabled: [],
  12. daysOfWeekDisabled: [],
  13. daysOfWeekHighlighted: [],
  14. defaultViewDate: undefined, // placeholder, defaults to today() by the program
  15. disableTouchKeyboard: false,
  16. format: 'mm/dd/yyyy',
  17. language: 'en',
  18. maxDate: null,
  19. maxNumberOfDates: 1,
  20. maxView: 3,
  21. minDate: null,
  22. nextArrow: '»',
  23. orientation: 'auto',
  24. pickLevel: 0,
  25. prevArrow: '«',
  26. showDaysOfWeek: true,
  27. showOnClick: true,
  28. showOnFocus: true,
  29. startView: 0,
  30. title: '',
  31. todayBtn: false,
  32. todayBtnMode: 0,
  33. todayHighlight: false,
  34. updateOnBlur: true,
  35. weekStart: 0,
  36. };
  37. export default defaultOptions;