perfect-scrollbar
perfect-scrollbar copied to clipboard
I am looking to upgrade the perfect scrollbar version from v0.6.10 to v1.5.3
I am looking to upgrade the perfect scrollbar version from v0.6.10 to v1.5.3.
I see the usage of $('class-name').perfectScrollbar('update') used in many places in the app if I wanna upgrade to newer version I believe this format has changed to const ps = new PerfectScrollbar('#container'); ps.update();
where I have to create instances before updating them now. But is there a way to update PerfectScrollbar just by using the class name in the new format?