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 support for tracking progress #4

Closed
weotch opened this issue Nov 30, 2016 · 1 comment
Closed

Add support for tracking progress #4

weotch opened this issue Nov 30, 2016 · 1 comment

Comments

@weotch
Copy link
Member

weotch commented Nov 30, 2016

The current load progress would be passed to the loader component through a prop based interface. Like:

# loader-component.vue
module.exports =
  props: ['progress', 'total', 'asset']
  • progress - Fractional progress percentage
  • total - Total filesize in bytes
  • asset The asset being loaded (poster, image, etc)
@weotch
Copy link
Member Author

weotch commented Mar 29, 2020

I haven't had much of a need for this over the years, closing.

@weotch weotch closed this as completed Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant