Skip to content

Commit 9883a2d

Browse files
committed
Merge pull request emberjs#2222 from lsdafjklsd/patch-1
Added documentation to the append method
2 parents cb4f03c + 2b920ee commit 9883a2d

File tree

1 file changed

+4
-0
lines changed
  • packages/ember-views/lib/views

1 file changed

+4
-0
lines changed

packages/ember-views/lib/views/view.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,6 +1478,10 @@ Ember.View = Ember.CoreView.extend(
14781478
Appends the view's element to the document body. If the view does
14791479
not have an HTML representation yet, `createElement()` will be called
14801480
automatically.
1481+
1482+
If your application uses the `rootElement` property, you must append
1483+
the view within that element. Rendering views outside of the `rootElement`
1484+
is not supported.
14811485
14821486
Note that this method just schedules the view to be appended; the DOM
14831487
element will not be appended to the document body until all bindings have

0 commit comments

Comments
 (0)