Draft: Add tooltip component customClass data parameter
What does this MR do and why?
This is a technical depth MR.
Add customClass
parameter to the haml gl-tooltip wrapper.
The component itself does support this parameter but the wrapper is not.
This is a follow-up issue My issue #359890 (closed) and MR to !90705 (merged)
Screenshots or screen recordings
before | after |
---|---|
How to set up and validate locally
- checkout this branch
- in some haml file create HTML tag add the following:
.has-tooltip{ data:{ "custom-class": 'any-custom-class' }, title: 'some tooltip text'}
- the result tooltip html will have custom class
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #359890 (closed)
Edited by Tomas Bulva