diff options
Diffstat (limited to 'library/fullcalendar/examples/external-dragging-2cals.html')
-rw-r--r-- | library/fullcalendar/examples/external-dragging-2cals.html | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/library/fullcalendar/examples/external-dragging-2cals.html b/library/fullcalendar/examples/external-dragging-2cals.html index 52023b7be..a0744b24c 100644 --- a/library/fullcalendar/examples/external-dragging-2cals.html +++ b/library/fullcalendar/examples/external-dragging-2cals.html @@ -2,11 +2,7 @@ <html> <head> <meta charset='utf-8' /> -<link href='../packages/core/main.css' rel='stylesheet' /> -<link href='../packages/daygrid/main.css' rel='stylesheet' /> -<script src='../packages/core/main.js'></script> -<script src='../packages/interaction/main.js'></script> -<script src='../packages/daygrid/main.js'></script> +<script src='../dist/index.global.js'></script> <script> document.addEventListener('DOMContentLoaded', function() { @@ -14,19 +10,18 @@ var destCalendarEl = document.getElementById('destination-calendar'); var srcCalendar = new FullCalendar.Calendar(srcCalendarEl, { - plugins: [ 'interaction', 'dayGrid' ], editable: true, - defaultDate: '2020-05-12', + initialDate: '2020-09-12', events: [ { title: 'event1', - start: '2020-05-11T10:00:00', - end: '2020-05-11T16:00:00' + start: '2020-09-11T10:00:00', + end: '2020-09-11T16:00:00' }, { title: 'event2', - start: '2020-05-13T10:00:00', - end: '2020-05-13T16:00:00' + start: '2020-09-13T10:00:00', + end: '2020-09-13T16:00:00' } ], eventLeave: function(info) { @@ -35,8 +30,7 @@ }); var destCalendar = new FullCalendar.Calendar(destCalendarEl, { - plugins: [ 'interaction', 'dayGrid' ], - defaultDate: '2020-05-12', + initialDate: '2020-09-12', editable: true, droppable: true, // will let it receive events! eventReceive: function(info) { |