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

Tooltip: Ability to include as an element #155

Open
chasturansky opened this issue Mar 22, 2021 · 1 comment
Open

Tooltip: Ability to include as an element #155

chasturansky opened this issue Mar 22, 2021 · 1 comment
Labels
feature New enhancements or feature requests hacktoberfest HackTogether Issues for the Yahoo Hack Together Open-source event

Comments

@chasturansky
Copy link
Member

No description provided.

@chasturansky
Copy link
Member Author

Is your feature request related to a problem? Please describe.
Currently the only way to have a tooltip is through adding the class d-tooltip and data attribute data-tooltip. This created a :before element which isn't great for accessibility and we can't control as easily.

Describe the solution you'd like
Additionally we would like to see a tooltip component that can be called as an element rather than :before. The HTML could look like this.

<span class="d-tooltip-element">This is a tooltip</span>

Additional context
Additionally all other modifier like position and size would work for this new element.

@chasturansky chasturansky added feature New enhancements or feature requests HackTogether Issues for the Yahoo Hack Together Open-source event labels Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New enhancements or feature requests hacktoberfest HackTogether Issues for the Yahoo Hack Together Open-source event
Projects
None yet
Development

No branches or pull requests

2 participants