Skip to content

Provide proper documentation for using Tooltip with selector #41020

Open
@axelfontaine

Description

@axelfontaine

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions