全日历3天议程自定义视图 [英] Full calendar 3 days agenda custom view

查看:162
本文介绍了全日历3天议程自定义视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法根据议程日期制作自定义视图但限制为3天,下一个或上一个按钮的操作会在3天内移动3天?



<第一天总是引用moment()。day()



感谢您的帮助

解决方案

现在可以这样做:

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

$ / code $ / pre

您可以从文档页面上获得更多信息自定义视图


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

解决方案

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.

这篇关于全日历3天议程自定义视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆