pickerTemplate.js 856 B

123456789101112131415161718192021222324
  1. import {optimizeTemplateHTML} from '../../lib/utils.js';
  2. const pickerTemplate = optimizeTemplateHTML(`<div class="datepicker">
  3. <div class="datepicker-picker">
  4. <div class="datepicker-header">
  5. <div class="datepicker-title"></div>
  6. <div class="datepicker-controls">
  7. <button type="button" class="%buttonClass% prev-btn"></button>
  8. <button type="button" class="%buttonClass% view-switch"></button>
  9. <button type="button" class="%buttonClass% next-btn"></button>
  10. </div>
  11. </div>
  12. <div class="datepicker-main"></div>
  13. <div class="datepicker-footer">
  14. <div class="datepicker-controls">
  15. <button type="button" class="%buttonClass% today-btn"></button>
  16. <button type="button" class="%buttonClass% clear-btn"></button>
  17. </div>
  18. </div>
  19. </div>
  20. </div>`);
  21. export default pickerTemplate;