Application#rootElement

rootElementDOMElementpublic

Defined in packages/ember-application/lib/system/application.js:204

The root DOM element of the Application. This can be specified as an element or a jQuery-compatible selector string.

This is the element that will be passed to the Application's, eventDispatcher, which sets up the listeners for event delegation. Every view in your application should be a child of the element you specify here.

Default: 'body'

doc_EmberJs
2016-11-30 16:48:27
Comments
Leave a Comment

Please login to continue.