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

Is there an event opposite to "view_complete"? #783

Open
smellyshovel opened this issue Aug 9, 2021 · 0 comments
Open

Is there an event opposite to "view_complete"? #783

smellyshovel opened this issue Aug 9, 2021 · 0 comments

Comments

@smellyshovel
Copy link

smellyshovel commented Aug 9, 2021

https://tangrams.readthedocs.io/en/main/API-Reference/Javascript-API/#events

The docs above say that there's an event called "view_complete" which is fired when the view reaches "resting state". But is there an opposite event which is fired when the view loses that state? I want to show a loading-spinner when something's going on, but now I've got to manually listen to all the events which can potentially mutate the view. That's not good. Thanks.

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

No branches or pull requests

1 participant