In nodeview, How to judge whether DOM has been loaded

this.contentDOM = this.dom.querySelector('div');

How to judge whether contentDOM has been loaded into DOM? I need to finish some work after loading

There no mechanism for this, currently. You could set a timeout—the node view is only created when it is about to be added to the DOM.

ok, thx