Skip to content
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

How do you remove a Pressure listener from an element? #77

Open
garrettmaring opened this issue Jan 18, 2019 · 4 comments
Open

How do you remove a Pressure listener from an element? #77

garrettmaring opened this issue Jan 18, 2019 · 4 comments
Assignees

Comments

@garrettmaring
Copy link

garrettmaring commented Jan 18, 2019

No description provided.

@stuyam stuyam self-assigned this Jan 22, 2019
@stuyam
Copy link
Owner

stuyam commented Jan 25, 2019

Currently we don't support a way of doing this out of the box. For this to work we would need to add something like an unbindEvents() which would use the removeEventListener method which would allow you to call in some way to unbind the binded events.

Open to pull requests on this, will take a look when I get a chance. Not sure if there is a way you can do it right now without the implementation.

@darkyen
Copy link

darkyen commented Jan 27, 2019

Currently we don't support a way of doing this out of the box. For this to work we would need to add something like an unbindEvents() which would use the removeEventListener method which would allow you to call in some way to unbind the binded events.

Open to pull requests on this, will take a look when I get a chance. Not sure if there is a way you can do it right now without the implementation.

Is all the state etc sync'd on the dom node?

@stuyam
Copy link
Owner

stuyam commented Jan 28, 2019

The only thing on the dom node will be the added event listeners. What did you have in mind @darkyen?

@Pranav2612000
Copy link

Any hacks for doing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants