]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update tooltips.md (#34222)
authorMarius Steffens <marius.steffens@outlook.com>
Mon, 14 Jun 2021 05:35:58 +0000 (06:35 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Jun 2021 05:35:58 +0000 (08:35 +0300)
Update method names in the options table from old jQuery API to new Bootstrap 5 API

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

index 386d3e9f18817bdd3c30281cf9c422febbf9b559..59d2480d468a3ec8c2f966f2e46dca1cbd383aa6 100644 (file)
@@ -254,7 +254,7 @@ Note that for security reasons the `sanitize`, `sanitizeFn`, and `allowList` opt
       <td><code>'hover focus'</code></td>
       <td>
         <p>How tooltip is triggered - click | hover | focus | manual. You may pass multiple triggers; separate them with a space.</p>
-        <p><code>'manual'</code> indicates that the tooltip will be triggered programmatically via the <code>.tooltip('show')</code>, <code>.tooltip('hide')</code> and <code>.tooltip('toggle')</code> methods; this value cannot be combined with any other trigger.</p>
+        <p><code>'manual'</code> indicates that the tooltip will be triggered programmatically via the <code>.show()</code>, <code>.hide()</code> and <code>.toggle()</code> methods; this value cannot be combined with any other trigger.</p>
         <p><code>'hover'</code> on its own will result in tooltips that cannot be triggered via the keyboard, and should only be used if alternative methods for conveying the same information for keyboard users is present.</p>
       </td>
     </tr>