Exemplo n.º 1
0
 function buildRangeCalendarTree(events) {
   return h('.range-calendar__months', [
     buildCalendarTree(prevMonth(month), selected, events),
     buildCalendarTree(month, selected, events),
     buildCalendarTree(nextMonth(month), selected, events),
   ])
 }
Exemplo n.º 2
0
 el.on('click', '.calendar__next', function () {
   month = nextMonth(month)
 })