Wait until visible


#1

I would like to wait max number of msecs until a given element is visible before continuing, is this possible?


#2

Not currently, but you can follow the thread here: https://github.com/emberjs/rfcs/issues/127


#3

Ember try to resolve all Promisse before render. So you could use a dump promisse. Or control it using a timeout javacirpt

didInsertElement: function() {
    let cmp = this;
    setTimeout( () => {
       cmp.set("loading", false);
       }, 3000);
    this.set("register-as', this);
}