Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide proper documentation for using Tooltip with selector #41020

Open
3 tasks done
axelfontaine opened this issue Nov 9, 2024 · 0 comments
Open
3 tasks done

Provide proper documentation for using Tooltip with selector #41020

axelfontaine opened this issue Nov 9, 2024 · 0 comments

Comments

@axelfontaine
Copy link

Prerequisites

Describe the issue

There is currently no documentation on how to use Tooltip with 'selector' using plain JS.

Reduced test cases

This unfortunately doesn't work:

document.querySelector('body').tooltip({
  allowList: myAllowList,
  selector: '[data-bs-toggle="tooltip"]'
});

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Firefox

What version of Bootstrap are you using?

5.3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@axelfontaine @julien-deramond and others