I would like to create a loading component to indicate a “loading…” before a specific property is loaded, see:
This gist is fully working, but, I would like to toggle the slot content with
if.bind instead of
show.bind, unfortunately this does not work (It’s by design, I know, it’s in the documentation).
I would like to prevent the evaluation and rendering of the view inside
<loading> (my-component in my example) before the loading is “completed”, that’s why I would like to use
Do you have another idea how to write such a reusable loading component?