added tooltip class when using popover component
mockey-jockey opened this issue · comments
@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 :
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.
ember-tooltips/addon/components/ember-tooltip-base.js
Lines 78 to 79 in 86545c1
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.