fullcalendar

Angular 9: Cannot find namespace 'FullCalendarVDom'?

感情迁移 提交于 2020-08-09 08:15:08
问题 I installed rrule plugin by running: npm install @fullcalendar/rrule but when I add its import to my component: import dayGridPlugin from '@fullcalendar/daygrid'; import timeGridPlugin from '@fullcalendar/timegrid'; import interactionPlugin from '@fullcalendar/interaction'; import rrulePlugin from '@fullcalendar/rrule'; //error appears after adding this import I get this errors: node_modules/@fullcalendar/common/vdom.d.ts:16:28 - error TS2304: Cannot find name 'FullCalendarVDom'. 16 export

Angular 9: Cannot find namespace 'FullCalendarVDom'?

喜你入骨 提交于 2020-08-09 08:14:14
问题 I installed rrule plugin by running: npm install @fullcalendar/rrule but when I add its import to my component: import dayGridPlugin from '@fullcalendar/daygrid'; import timeGridPlugin from '@fullcalendar/timegrid'; import interactionPlugin from '@fullcalendar/interaction'; import rrulePlugin from '@fullcalendar/rrule'; //error appears after adding this import I get this errors: node_modules/@fullcalendar/common/vdom.d.ts:16:28 - error TS2304: Cannot find name 'FullCalendarVDom'. 16 export

How to remove allDay from view in fullcalender JS?

末鹿安然 提交于 2020-08-06 11:47:26
问题 I am trying to build an application that creates events within fullcalendar. I don't allow user to create an "allDay" event at all at the client side but they still can see it within the view. Is there any method to remove allDays from views completely? function initCalendar { if (!jQuery().fullCalendar) { return; } var date = new Date(), started, ended var header = {}; var calendar = $('#calendar').fullCalendar({ header: header, selectable: true, selectHelper: true, select: function (start,

Issue: Fullcalendar shows 24 as midnight instead of 00:00

可紊 提交于 2020-07-22 11:59:23
问题 For some reason, Fullcalendar is showing events that start past midnight as e.g. '24:15'. We want it to show '00:15'. I think this is a new issue, because we have had the calendar for a year, and this is the first I'm hearing of it. But I can't find anything about how to solve it. We are using fullcalendar v4.2.0. I did not write the original code, but I'm fairly familiar with it. We fetch events using a REST API, and we're using ServiceNow. When using the 12-hour format (am/pm), it shows

Issue: Fullcalendar shows 24 as midnight instead of 00:00

女生的网名这么多〃 提交于 2020-07-22 11:59:07
问题 For some reason, Fullcalendar is showing events that start past midnight as e.g. '24:15'. We want it to show '00:15'. I think this is a new issue, because we have had the calendar for a year, and this is the first I'm hearing of it. But I can't find anything about how to solve it. We are using fullcalendar v4.2.0. I did not write the original code, but I'm fairly familiar with it. We fetch events using a REST API, and we're using ServiceNow. When using the 12-hour format (am/pm), it shows

recurring event and non-recurring event using fullcalendar

余生长醉 提交于 2020-07-08 02:32:48
问题 events: [ { id: '<?php echo $event['id']; ?>', title: '<?php echo $event['title']; ?>', color: '<?php echo $event['color']; ?>', start: '<?php echo $start; ?>', end: '<?php echo $end; ?>', dow: '<?php echo $dow; ?>', ranges: [{ start: '<?php echo $start; ?>', end: '<?php echo $end; ?>', }] }, ] Following image below shows my current status of my calendar: As seen from the image above, the cardio training has been recurring non-stop. Is there a way to stop the recurring event based on the end

recurring event and non-recurring event using fullcalendar

夙愿已清 提交于 2020-07-08 02:32:11
问题 events: [ { id: '<?php echo $event['id']; ?>', title: '<?php echo $event['title']; ?>', color: '<?php echo $event['color']; ?>', start: '<?php echo $start; ?>', end: '<?php echo $end; ?>', dow: '<?php echo $dow; ?>', ranges: [{ start: '<?php echo $start; ?>', end: '<?php echo $end; ?>', }] }, ] Following image below shows my current status of my calendar: As seen from the image above, the cardio training has been recurring non-stop. Is there a way to stop the recurring event based on the end