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

Open event on and off API #158

Closed
dadiorchen opened this issue Feb 15, 2023 · 3 comments · Fixed by #172
Closed

Open event on and off API #158

dadiorchen opened this issue Feb 15, 2023 · 3 comments · Fixed by #172
Assignees
Labels

Comments

@dadiorchen
Copy link
Collaborator

Currently, we offer the map.on('event_name') to register a listener, now we need to open the off once API to unregister and one-time-listener, check the document here:

https://nodejs.org/api/events.html#emitteronceeventname-listener
https://nodejs.org/api/events.html#emitteroneventname-listener


Some hints:

  • Please read our readme for more information/guide/tutorial.
  • Here is an engineering book in Greenstand.
  • To know more about our organization, visit our website.
  • If you want to join the slack community (some resources need the community member's permission), please leave your email address.
@dadiorchen dadiorchen added the good first issue Good for newcomers label Feb 15, 2023
@XLPeng57
Copy link

@dadiorchen Hi, I'm new to web-map-core. Is this still an issue? If yes, could you assign it to me? I'd like to work on this! If not, are there any issues you'd recommend for me to work on?

@dadiorchen
Copy link
Collaborator Author

@XLPeng57 yes, please take this issue, I'm thinking about how to test it when you finished, any idea?

dadiorchen added a commit that referenced this issue Mar 29, 2024
#158: deprecate onXXX methods and implement event off and once methods
Copy link

🎉 This issue has been resolved in version 2.7.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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