如何解决timeGridWeek中的全日历事件无法很好地呈现角度
我正在gridDayMonth视图中使用fullCalendar,它工作正常(附有图像),但是在timeGridWeek中,事件无法像演示中那样工作(附有图像),标题和时间未显示。
请帮助。
HTML:
<full-calendar #calendarApi
[options]='calendarOptions'>
</full-calendar>
获取数据:
async ngOnInit() {
this.events = await this.getEvents();
this.calendarApi.calendar.addEventSource(this.events);
}
配置:
initialView: 'timeGridWeek',direction: 'rtl',themeSystem: 'bootstrap',headerToolbar: {
left: 'next,prev today',center: 'title',right: 'dayGridMonth,timeGridWeek,timeGridDay'
},locale: heLocale,selectable: true,select: this.openModal.bind(this),eventAdd: this.handleEventAdd.bind(this),};
DayGridMonth Here
标题和时间丢失 TimeGridWeek Here
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。