pierrickrouxel / ember-strap

DEPRECATED IN FAVOR OF https://github.com/kaliber5/ember-bootstrap
MIT License
15 stars 3 forks source link

html in tooltip #5

Closed shopapps closed 9 years ago

shopapps commented 9 years ago

Hi,

How can i enable html in the tooltip? I have tried adding to the component call

html=true

and also in the sender

data-html=true

but neither work.

thanks.

pierrickrouxel commented 9 years ago

Hi, tooltips are always in html mode :)

shopapps commented 9 years ago

just checking the source and just spotted that.. I wonder why its not working for me then.. :(

I guess it must be something to do with passing values around between components, maybe ember is doing something in the background

shopapps commented 9 years ago

rookie mistake!! i need to wrap my property in 3 braces to allow the html e.g.

{{#es-tooltip for=tip_id placement='auto left'}}
    {{{tipHtml}}}
  {{/es-tooltip}}

might be worth adding to your docs as an example though (unless it's already there and i missed it??) :-D