-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get plugins to work #4
Comments
Hi, did you bundle all your plugins in the FullCalendarJS zip file? |
Yes I did. It always stops working on loadScript |
Mine works ok. This is what my zip file looks like: |
what does the zip file looks like inside? |
I think the loadScript() has issues and Salesforce never tested it on JS libraries with multiple dependencies. The workaround is to do recursion on renderedCallback() when the Promise catches an exception. Anyway, Promises chain is not always guaranteed to resolve. |
Hi,
Thanks for sharing!
I am trying to use the interaction plugin. I added the interaction.min.js to the zip in the static resource but when I add this line it stops working:
loadScript(this, FullCalendarJS + '/interaction.min.js')
It was the same thing with the daygrid plugin.
Did you manage to get any plugin to work?
Cheers
The text was updated successfully, but these errors were encountered: