Skip to content

Commit

Permalink
Updates docs to match Tooltip type checking
Browse files Browse the repository at this point in the history
Documentation now matches the types defined in the DefaultType constant in
js/src/tooltip.js
  • Loading branch information
gareth committed Oct 3, 2017
1 parent ee574b7 commit 90a9b49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/4.0/components/popovers.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
</tr>
<tr>
<td>container</td>
<td>string | false</td>
<td>string | element | boolean</td>
<td>false</td>
<td>
<p>Appends the popover to a specific element. Example: <code>container: 'body'</code>. This option is particularly useful in that it allows you to position the popover in the flow of the document near the triggering element - which will prevent the popover from floating away from the triggering element during a window resize.</p>
Expand Down Expand Up @@ -221,7 +221,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
</tr>
<tr>
<td>selector</td>
<td>string</td>
<td>string | boolean</td>
<td>false</td>
<td>If a selector is provided, popover objects will be delegated to the specified targets. In practice, this is used to enable dynamic HTML content to have popovers added. See <a href="https://github.com/twbs/bootstrap/issues/4215">this</a> and <a href="https://jsbin.com/zopod/1/edit">an informative example</a>.</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/4.0/components/tooltips.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
</tr>
<tr>
<td>selector</td>
<td>string</td>
<td>string | boolean</td>
<td>false</td>
<td>If a selector is provided, tooltip objects will be delegated to the specified targets. In practice, this is used to enable dynamic HTML content to have popovers added. See <a href="https://github.com/twbs/bootstrap/issues/4215">this</a> and <a href="https://jsbin.com/zopod/1/edit">an informative example</a>.</td>
</tr>
Expand Down

0 comments on commit 90a9b49

Please sign in to comment.