Closed brospars closed 5 years ago
I don't think you can but I'm currently adding callback functions to be able to do just that. I'll keep you inform
I searched the web & found that the return function in the plugin is a bit different. After going through it, I found it is added as data reference.
I was able to achieve to get the plugin by this code.
var cal = $("#container").simpleCalendar({
fixedStartDay: false
});
cal.data('plugin_simpleCalendar').testFunction(123);
pardon me for interrupting. But How can i get an instance of the plugin, in case I need to update the values on month change. I tried assigning to variable and calling var.simpleCalendar.function() but did not work. Any help would be appreciated..
Originally posted by @monsterbrain in https://github.com/brospars/simple-calendar/issues/2#issuecomment-468595743