addCalendarEventSource
(Beta) Adds an event source object to the calendar
- 1.controlId - The id of the calendar control
- 2.eventSource - the Event source object
app.addCalendarEventSource("myCal", {
events: [
{
title: 'Sammple Event 1',
start: '2020-12-08',
},
{
title: 'Sammple Event 2',
start: '2020-12-10',
},
],
id: 1,
color: 'yellow', // an option!
textColor: 'black' // an option!
});
Last modified 1yr ago