sir-dunxalot / ember-tooltips

Easy and extendible tooltips for Ember components - http://sir-dunxalot.github.io/ember-tooltips/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

added tooltip class when using popover component

mockey-jockey opened this issue · comments

Added tooltip class when using popover component.

image

Here am facing the issue like when am using the ember popover ember tooltip class adding in dom

@mockey-jockey we spoke on Discord about this, but I'm not sure what the question is here? Could you provide some more detail?

Template.hbs

{{#ember-popover as |popover|}}
  Click <a href {{action 'hide' target=popover}}>here</a> to hide the popover
{{/ember-popover}}

and in the DOM is populating like this :
image

In here am using ember-popover component then why ember-tooltip class added in dom elements. (tooltip-arrow, tooltip-inner)

@mockey-jockey those are just the default values for arrowClass and innerClass, but you can specify other values, if you wish, by passing them in to the component. We should probably use different classes by default for the popovers, to be honest.

arrowClass: 'tooltip-arrow',
innerClass: 'tooltip-inner',

I'm going to close this out for now, but if you have other questions about this, just reply to this issue and I'll re-open it.