williamtroup / Calendar.js

📅 A javascript drag & drop event calendar, that is fully responsive and compatible with all modern browsers.
https://calendar-js.com
MIT License
504 stars 38 forks source link

Option to load iCal calendar at startup #242

Open lexterror opened 3 months ago

lexterror commented 3 months ago

I would like to include all events of an iCal calendar at startup...

Thank you!

williamtroup commented 3 months ago

Is this a data object, or a File object, you want to use?

lexterror commented 3 months ago

its an *.ical file object.

Thank you!

williamtroup commented 3 months ago

If you go to the documentation here: https://calendar-js.com/documentation/public-functions.html

... you will find an Export/Import area. You can use the import() public function, which accepts an array of File objects.

The import() functions accepts "json" and "ical" files.

Hope this helps.

lexaterra commented 2 months ago

Hi, its me "lexterror" I got a new phone number from TMobile and got locked out of yahoo&gmail...

I wanted to know if you could integrate into your app the following?:

https://github.com/kewisch/ical.js

Someone was able to include it with "fullcalendarjs".

Here is a demo:

http://alext.rf.gd

it takes about 20secs to load because I have about 10mb of iCal ics files...

Also, your calendar is really modern/fancy and would love to have it be able to easily add ics files at startup.

Thank you!