mobiscroll.frame.ios.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. (function ($) {
  2. var themes = $.mobiscroll.themes.frame,
  3. theme = {
  4. display: 'bottom',
  5. dateOrder: 'MMdyy',
  6. rows: 5,
  7. height: 34,
  8. minWidth: 55,
  9. headerText: false,
  10. showLabel: false,
  11. btnWidth: false,
  12. selectedLineHeight: true,
  13. selectedLineBorder: 1,
  14. useShortLabels: true,
  15. deleteIcon: 'backspace3',
  16. checkIcon: 'ion-ios7-checkmark-empty',
  17. btnCalPrevClass: 'mbsc-ic mbsc-ic-arrow-left5',
  18. btnCalNextClass: 'mbsc-ic mbsc-ic-arrow-right5',
  19. btnPlusClass: 'mbsc-ic mbsc-ic-arrow-down5',
  20. btnMinusClass: 'mbsc-ic mbsc-ic-arrow-up5',
  21. // @deprecated since 2.14.0, backward compatibility code
  22. // ---
  23. onThemeLoad: function (lang, s) {
  24. if (s.theme) {
  25. s.theme = s.theme.replace('ios7', 'ios');
  26. }
  27. }
  28. // ---
  29. };
  30. themes.ios = theme;
  31. // @deprecated since 2.14.0, backward compatibility code
  32. themes.ios7 = theme;
  33. })(jQuery);