Closed taltmann42 closed 4 years ago
Two new methods were added in order to remove SimpleScrollbar
SimpleScrollbar.unbind(el) destroys one specific instance including all event listeners and wrapping elements.
SimpleScrollbar.unbind(el)
SimpleScrollbar.unbindAll() destroys all instances using the unbind method
SimpleScrollbar.unbindAll()
unbind
A demo page can be found here: https://codepen.io/taltmann42/full/qKRLzv/
A big thumbs up for this feature. Thanks guy
Thank you so much for your contribution :)
Two new methods were added in order to remove SimpleScrollbar
SimpleScrollbar.unbind(el)
destroys one specific instance including all event listeners and wrapping elements.SimpleScrollbar.unbindAll()
destroys all instances using theunbind
methodA demo page can be found here: https://codepen.io/taltmann42/full/qKRLzv/