How to add loading into component? #17198
Unanswered
ivanjaros
asked this question in
General - Components / Directives / etc
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have some components that require loading remote resources before they can render data and they use simple "if" condition in the root element to render only once the data got fetched. I could, obviously, add inner loading or spinner components. The problem is that this would result in component without single root element, which is usually problematic, unless you handle attributes and their inheritance manually. Which I do not want to.
So I am wondering how it could be possible to essentially do something like the loading plugin does, but on a component level, not on application level.
Beta Was this translation helpful? Give feedback.
All reactions