Full calendar 3 days agenda custom view

元气小坏坏 提交于 2020-01-04 07:20:02

问题


is there a way to make a custom view based on agendaDay but restrain to 3 days, and the action on next or previous button, move 3 days on 3 days ?

the first day always reference to moment().day()

thanks for your help


回答1:


This can now be done with something like this:

views: {
  agendaThreeDay: {
    type: 'agenda',
    duration: { days: 3 },
    buttonText: '3 day'
  },
  defaultView: 'agendaThreeDay'
}

You can get more information on this from the document page on Custom Views.



来源:https://stackoverflow.com/questions/26276331/full-calendar-3-days-agenda-custom-view

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!