Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Feature Request: Allow custom classes to be applied to tooltips #3126

Closed
HighTechnocrat opened this issue Dec 18, 2014 · 1 comment
Closed

Comments

@HighTechnocrat
Copy link

I would like away to apply custom styling to tooltips using CSS classes. Currently the only way to distinguish between different tooltips in CSS is the direction of the tooltip. Styling the tooltip contents using tooltip-html-unsafe="" works fine, but doesn't allow styling of the tooltip itself.

@nonplus
Copy link
Contributor

nonplus commented Feb 24, 2015

I need this as well. I'd be happy to implement this.

Presumably we'd want a tooltip-class="myTooltipClass" attribute which would be applied to the popup?

@karianna karianna added this to the Backlog milestone Feb 24, 2015
nonplus pushed a commit to nonplus/bootstrap that referenced this issue Feb 24, 2015
@karianna karianna removed the PRs plz! label Mar 22, 2015
@karianna karianna modified the milestones: 0.13.0, Backlog Mar 22, 2015
ayakovlevgh pushed a commit to ayakovlevgh/bootstrap that referenced this issue Mar 24, 2015
chrisirhc added a commit to chrisirhc/angular-ui-bootstrap that referenced this issue Apr 8, 2015
- Add tooltip-class support to tooltip-template
- Remove observer for tooltip-class, it’s evaluated once on tooltip
  preparation instead
- Remove interpolation on class attribute
  Interpolation on the class attribute can have undesirable mangling
  effects when use with a directive that has `replace: true`. It also
  doesn’t work properly with ngAnimate.

Relates to angular-ui#3126
chrisirhc added a commit to chrisirhc/angular-ui-bootstrap that referenced this issue Apr 9, 2015
- Add tooltip-class support to tooltip-template
- Remove observer for tooltip-class, it’s evaluated once on tooltip
  preparation instead
- Remove interpolation on class attribute
  Interpolation on the class attribute can have undesirable mangling
  effects when use with a directive that has `replace: true`. It also
  doesn’t work properly with ngAnimate.

Relates to angular-ui#3126
chrisirhc added a commit that referenced this issue Apr 10, 2015
- Add tooltip-class support to tooltip-template
- Remove observer for tooltip-class, it’s evaluated once on tooltip
  preparation instead
- Remove interpolation on class attribute
  Interpolation on the class attribute can have undesirable mangling
  effects when use with a directive that has `replace: true`. It also
  doesn’t work properly with ngAnimate.

Relates to #3126
Closes #3510
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants