bootstrap
bootstrap copied to clipboard
Incorrect description for Tooltips getInstance method in documentation
Prerequisites
- [X] I have searched for duplicate or closed issues
- [X] I have validated any HTML to avoid common problems
- [X] I have read the contributing guidelines
Describe the issue
The description for the Tooltips getInstance method currently reads:
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.
getInstance does not create a new instance if there isn't one initialized, it returns null.
It looks as though this description has been copied from the getOrCreateInstance method.
Reduced test cases
N/A
What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.3
is that a documentation problem?