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

Add event hooks to nuxt-loading component #7893

Closed
btkostner opened this issue Aug 11, 2020 · 1 comment
Closed

Add event hooks to nuxt-loading component #7893

btkostner opened this issue Aug 11, 2020 · 1 comment

Comments

@btkostner
Copy link

Is your feature request related to a problem? Please describe.

I have some async data being loaded in fetch. I want to scroll on the page after all content is loaded. The easiest way seemed to be something like this.$loading.$once('finished').

Describe the solution you'd like

I'd like some events added to the nuxt-loading component so people can use it as the source of truth if stuff is still being loaded. The only one I am concerned about is finished, but I could see some others added as well.

Describe alternatives you've considered

Not using the component as the single source of truth. This can be more accurate, but also takes more work. Using the nuxt-loading component is fast, has good support with things like axios already, and is pretty simple to use.

@danielroe
Copy link
Member

Let's track progress via #14221.

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants