-
Notifications
You must be signed in to change notification settings - Fork 161
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
Feature request: Igx tooltip #1710
Comments
It would be great if this was templateable as well. So a simple igxTooltip="Some text" easy tooltip for most occasions, but the ability to render html or a full component in a tooltop would also be useful. |
Link to the spec for the Tooltip |
Great to see templating is implemented 👍 What exactly does the limitation entail? Do we always have to create a separate DOM element for a tooltip? |
@Eralmidia, we are glad you enjoy the templating functionality. The answer to your last question is yes. In order to set a tooltip to an element, we need to create a separate DOM element, which represents the tooltip itself. While this is not as convenient as setting a single property for text only tooltips, it makes the templating, styling and access to the tooltip a lot easier. |
Ok. I was thinking it would be possible to stream a template ref from the directive to the igx overlay, and only have a single tooltip component reside there? Still it's a great addition to have a templateable tooltip. |
Description
Material style tooltip, similar to https://material.angular.io/components/tooltip/overview
The text was updated successfully, but these errors were encountered: