mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Update documentation for Tooltips/Popovers about auto placement
This commit is contained in:
parent
4c3b6c5ceb
commit
9e894991b0
3 changed files with 2 additions and 10 deletions
|
@ -221,7 +221,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
|
|||
<td>string | function</td>
|
||||
<td>'right'</td>
|
||||
<td>
|
||||
<p>How to position the popover - top | bottom | left | right.</p>
|
||||
<p>How to position the popover - auto | top | bottom | left | right.<br>When <code>auto</code> is specified, it will dynamically reorient the popover.</p>
|
||||
<p>When a function is used to determine the placement, it is called with the popover DOM node as its first argument and the triggering element DOM node as its second. The <code>this</code> context is set to the popover instance.</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -200,7 +200,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.</p>
|
||||
<p>How to position the tooltip - auto | top | bottom | left | right.<br>When <code>auto</code> is specified, it will dynamically reorient the tooltip.</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>
|
||||
|
|
|
@ -196,14 +196,6 @@ 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.
|
||||
|
||||
### Popovers
|
||||
|
||||
- Removed support for `auto` placement options.
|
||||
|
||||
### Carousel
|
||||
|
||||
- Overhauled the entire component to simplify design and styling. We have fewer styles for you to override, new indicators, and new icons.
|
||||
|
|
Loading…
Reference in a new issue