Skip to content

Commit 9a01aa3

Browse files
Docs: fix specification for getInstance (#41297)
Co-authored-by: Julien Déramond <[email protected]>
1 parent 41cbd4d commit 9a01aa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ const tooltip = new bootstrap.Tooltip(element, {
246246
| `disable` | Removes the ability for an element's tooltip to be shown. The tooltip will only be able to be shown if it is re-enabled. |
247247
| `dispose` | Hides and destroys an element's tooltip (Removes stored data on the DOM element). Tooltips that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements. |
248248
| `enable` | Gives an element's tooltip the ability to be shown. **Tooltips are enabled by default.** |
249-
| `getInstance` | *Static* method which allows you to get the tooltip instance associated with a DOM element, or create a new one in case it wasn't initialized. |
249+
| `getInstance` | *Static* method which allows you to get the tooltip instance associated with a DOM element. |
250250
| `getOrCreateInstance` | *Static* method which allows you to get the tooltip instance associated with a DOM element, or create a new one in case it wasn't initialized. |
251251
| `hide` | Hides an element's tooltip. **Returns to the caller before the tooltip has actually been hidden** (i.e. before the `hidden.bs.tooltip` event occurs). This is considered a "manual" triggering of the tooltip. |
252252
| `setContent` | Gives a way to change the tooltip's content after its initialization. |

0 commit comments

Comments
 (0)