-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop binding or destructor #20
Labels
Comments
Not at this point. I'll be glad to accept a PR for this. |
taltmann42
added a commit
to taltmann42/simple-scrollbar
that referenced
this issue
Jun 10, 2018
Two new methods where 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 the `unbind` method A demo page can be found here: https://codepen.io/taltmann42/full/qKRLzv/
taltmann42
added a commit
to taltmann42/simple-scrollbar
that referenced
this issue
Jun 10, 2018
Two new methods where 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 the `unbind` method A demo page can be found here: https://codepen.io/taltmann42/full/qKRLzv/
buzinas
pushed a commit
that referenced
this issue
Jun 18, 2020
Two new methods where 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 the `unbind` method A demo page can be found here: https://codepen.io/taltmann42/full/qKRLzv/
This was fixed by #44. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is possible once an element that is initialized with simpleScrollbar remove the scroll function or stop binding?
The text was updated successfully, but these errors were encountered: