ViewTargetActionSupport#appendTo()

appendTo (A) Ember.Viewprivate

Defined in packages/ember-views/lib/mixins/view_support.js:114

Appends the view's element to the specified parent element.

Note that this method just schedules the view to be appended; the DOM element will not be appended to the given element until all bindings have finished synchronizing.

This is not typically a function that you will need to call directly when building your application. If you do need to use appendTo, be sure that the target element you are providing is associated with an Ember.Application and does not have an ancestor element that is associated with an Ember view.

Parameters:

A String|DOMElement|jQuery
selector, element, HTML string, or jQuery object

Returns:

Ember.View
receiver
doc_EmberJs
2016-11-30 16:54:01
Comments
Leave a Comment

Please login to continue.