Skip to content

Update pending property #28

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

Closed
michaelzangl opened this issue Dec 30, 2017 · 4 comments
Closed

Update pending property #28

michaelzangl opened this issue Dec 30, 2017 · 4 comments

Comments

@michaelzangl
Copy link
Contributor

I currently use this plugin to get resources from the server. I want to display a loading indicator while content is refreshing / updating.

To do this, I'd like to have a property that indicates if a asyncComputed property is being recomputed. Something like:

asyncComputed {
  someData: ...
}
...

this.someData // the computed value
this.someDataIsUpdating // implicit property, true while the computed value is updating

What do you think of this concept? Is it good to have those implicit properties or do you have a better idea? Should I implement it and create a PR?

@michaelzangl
Copy link
Contributor Author

Created a PR for this: #29

@revelt
Copy link

revelt commented Oct 26, 2018

This is good-one! vue-wait can do loaders but imho integrated solution, all-in-one, like this, is better

@michaelzangl
Copy link
Contributor Author

The PR has changed to #45

@michaelzangl
Copy link
Contributor Author

Fixed with #45.

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

2 participants