You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Really appreciate the work you've done with this module port, it's made D8 calendar creation a breeze.
I'm hoping you can help me with a bit of guidance on how to create a js api plugin. I've used the api example and looked at the example used by fullcalendar_options but I still can't get any option to be applied or get a custom function to be used (specifically I'm looking to use jQuery date picker as a gotoDate and date range filter).
Here's a non-working example:
`(function($) {
Drupal.fullcalendar.plugins.mymodule = {
options: function (fullcalendar) {
var settings = Drupal.settings.fullcalendar[fullcalendar.dom_id].mymodule;
var options = $.extend(
{
header: {
left: 'title',
center: '',
right: 'today prev,next'
},
},
settings
);
return options;
},
};
}(jQuery));`
Any help you can provide would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Hi Dakala,
Really appreciate the work you've done with this module port, it's made D8 calendar creation a breeze.
I'm hoping you can help me with a bit of guidance on how to create a js api plugin. I've used the api example and looked at the example used by fullcalendar_options but I still can't get any option to be applied or get a custom function to be used (specifically I'm looking to use jQuery date picker as a gotoDate and date range filter).
Here's a non-working example:
`(function($) {
Drupal.fullcalendar.plugins.mymodule = {
options: function (fullcalendar) {
var settings = Drupal.settings.fullcalendar[fullcalendar.dom_id].mymodule;
var options = $.extend(
{
header: {
left: 'title',
center: '',
right: 'today prev,next'
},
},
settings
);
return options;
},
};
}(jQuery));`
Any help you can provide would be greatly appreciated.
The text was updated successfully, but these errors were encountered: