renderToElement (tagName) HTMLBodyElementprivate
Defined in packages/ember-views/lib/mixins/view_support.js:153
Creates a new DOM element, renders the view into it, then returns the element. By default, the element created and rendered into will be a BODY element, since this is the default context that views are rendered into when being inserted directly into the DOM. let element = view.renderToElement();
element.tagName; // => "BODY"
You can override the kind of element rendered into a