Skip to content

Commit 09297b4

Browse files
authored
Merge pull request ember-bootstrap#960 from kaliber5/wormhole-dest-docs
Add note to insertEmberWormholeElementToDom config when rendering app into custom element
2 parents c41445d + 8db1656 commit 09297b4

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

docs/app/templates/getting-started/setup.hbs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,16 @@
158158
<td><code>true</code> / <code>false</code></td>
159159
<td><code>true</code></td>
160160
<td>
161-
Will automatically insert a div into your index.html, where Bootstrap's modals and tooltips will be rendered to.
162-
If you set this to false, you will have to add an
163-
<code>&lt;div id=&quot;ember-bootstrap-wormhole&quot;&gt;&lt;/div&gt;</code> element by yourself.
161+
<p>
162+
Will automatically insert a div into your index.html, where Bootstrap's modals and tooltips will be rendered to.
163+
If you set this to false, you will have to add an
164+
<code>&lt;div id=&quot;ember-bootstrap-wormhole&quot;&gt;&lt;/div&gt;</code> element by yourself, e.g. into your
165+
<code>application.hbs</code>.
166+
</p>
167+
<p>
168+
This is especially required if you render your Ember app into a custom application root element, e.g. on an
169+
server rendered page, where the default div is not available.
170+
</p>
164171
</td>
165172
</tr>
166173
<tr>

0 commit comments

Comments
 (0)