Loading symbol until component is inserted


#1

with the new canjs4, can components are now automouted. they get inserted if a html tag is available, even on the DOM.

but is there a possibility to show a loading GIF until the component is inserted complete?

i cam up with something like this:

<x-my-component>loading....</x-my-component>

the “loading…” should removed after the component is inserted

my component is a normal modlet

export default Component.extend({
  tag: '<x-my-component>',
  ViewModel,
  view
});