Open nutika88 opened 5 years ago
I'm trying to read the plugin code and find a way to do this but I can't see how.
var sidebar = $('.sidebar').stickySidebar({
topSpacing: 60,
bottomSpacing: 60
});
// update
sidebar.stickySidebar('updateSticky');
// destroy
sidebar.stickySidebar('destroy');
please remove the blank space:
// update sidebar.stickySidebar('updateSticky');
// destroy sidebar.stickySidebar('destroy');
How can I call public updateSticky() methods for the jQuery version ?