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

Função para remover eventos #17

Open
ghost opened this issue Apr 22, 2021 · 1 comment
Open

Função para remover eventos #17

ghost opened this issue Apr 22, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ghost
Copy link

ghost commented Apr 22, 2021

Olá!

Eu gostaria de sugerir a criação de um método parecido com o .off() do jQuery, que remova o listener dos elementos, ao contrário do .on(), se possível.

Muito obrigado!

@ghost ghost added the enhancement New feature or request label Apr 22, 2021
@1cadumagalhaes 1cadumagalhaes changed the title [NEW] Função para remover eventos Apr 22, 2021
@1cadumagalhaes 1cadumagalhaes added the good first issue Good for newcomers label Apr 22, 2021
@1cadumagalhaes
Copy link
Collaborator

Criar um método .off() no helper interno que implementa o .removeEventListener .
Referências:

@carolmsl carolmsl self-assigned this Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants