]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove offset in Popover docs
authorkyletsang <6854874+kyletsang@users.noreply.github.com>
Tue, 8 Dec 2020 23:10:57 +0000 (15:10 -0800)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 9 Dec 2020 13:02:46 +0000 (15:02 +0200)
Fix fallbackPlacements in Popover and Tooltip docs

site/content/docs/5.0/components/popovers.md
site/content/docs/5.0/components/tooltips.md

index acc766d71fc0000dafcff29ca1b8c3984563e2ad..0a16f89e19a6471a62d393960938d9fce32508b3 100644 (file)
@@ -248,13 +248,7 @@ Note that for security reasons the `sanitize`, `sanitizeFn`, and `allowList` opt
       <td>How popover is triggered - click | hover | focus | manual. You may pass multiple triggers; separate them with a space. <code>manual</code> cannot be combined with any other trigger.</td>
     </tr>
     <tr>
-      <td><code>offset</code></td>
-      <td>number | string</td>
-      <td><code>0</code></td>
-      <td>Offset of the popover relative to its target. For more information refer to Popper's <a href="https://popper.js.org/docs/v2/modifiers/offset">offset docs</a>.</td>
-    </tr>
-    <tr>
-      <td><code>fallbackPlacement</code></td>
+      <td><code>fallbackPlacements</code></td>
       <td>string | array</td>
       <td><code>'flip'</code></td>
       <td>Allow to specify which position Popper will use on fallback. For more information refer to
index 6669c7e719bf99368ca12a5b9762a5dc947a4bae..25ef1447a2c3db6c222e03f244b6af7c878aefc0 100644 (file)
@@ -253,7 +253,7 @@ Note that for security reasons the `sanitize`, `sanitizeFn`, and `allowList` opt
       </td>
     </tr>
     <tr>
-      <td><code>fallbackPlacement</code></td>
+      <td><code>fallbackPlacements</code></td>
       <td>null | array</td>
       <td><code>null</code></td>
       <td>Allow to specify which position Popper will use on fallback. For more information refer to