0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

v4: Update tooltip placement docs (#20696)

* Fixes #19796: Remove mention of tooltip auto placement

* add note to migration docs
This commit is contained in:
Mark Otto 2016-09-11 22:30:37 -07:00 committed by GitHub
parent cad238120e
commit 8104bd7a02
2 changed files with 5 additions and 1 deletions

View File

@ -186,7 +186,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
<td>string | function</td>
<td>'top'</td>
<td>
<p>How to position the tooltip - top | bottom | left | right | auto.<br>When "auto" is specified, it will dynamically reorient the tooltip. For example, if placement is "auto left", the tooltip will display to the left when possible, otherwise it will display right.</p>
<p>How to position the tooltip - top | bottom | left | right.</p>
<p>When a function is used to determine the placement, it is called with the tooltip DOM node as its first argument and the triggering element DOM node as its second. The <code>this</code> context is set to the tooltip instance.</p>
</td>
</tr>

View File

@ -174,6 +174,10 @@ Dropped entirely for the new card component.
- `.panel-warning` to `.card-warning` and `.card-inverse` (or use `.bg-warning` on `.card-header`)
- `.panel-danger` to `.card-danger` and `.card-inverse` (or use `.bg-danger` on `.card-header`)
### Tooltips
- Removed support for `auto` placement options.
### Carousel
- Renamed `.item` to `.carousel-item`.