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

xhr util onload/abort #1602

Open
dbauszus-glx opened this issue Oct 24, 2024 · 0 comments
Open

xhr util onload/abort #1602

dbauszus-glx opened this issue Oct 24, 2024 · 0 comments
Assignees
Labels
Code Issues related to the code structure and performance. Feature New feature requests or changes to the behaviour or look of existing application features. Testing Changes relating to existing or new unit tests.

Comments

@dbauszus-glx
Copy link
Member

The xhr util should assign the xhr object to the params object.

The abort method should then be called if the util is called with the same decorated object.

It should be possible to define a custom onload method in the xhr utils params argument.

The mapp library should not require to call directly on XMLHttpRequest web api but only through the xhr utils module.

The gazetteer and mvt xhr calls can be replaced with these utility enhancements.

@dbauszus-glx dbauszus-glx self-assigned this Oct 24, 2024
@dbauszus-glx dbauszus-glx added Feature New feature requests or changes to the behaviour or look of existing application features. Code Issues related to the code structure and performance. Testing Changes relating to existing or new unit tests. labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Issues related to the code structure and performance. Feature New feature requests or changes to the behaviour or look of existing application features. Testing Changes relating to existing or new unit tests.
Projects
None yet
Development

No branches or pull requests

2 participants