-
Notifications
You must be signed in to change notification settings - Fork 26
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
Html content in tabHeading #32
Comments
hi, does this solve it for you? |
Thanx for your answer, i did not see this atributes.
Plus, my heading contgains some logic (ng-if..) based on the tab content. I can't put the code in an attributes. Do you want a plunker ? |
yes please, plunkr would be great. |
plunkr : http://plnkr.co/edit/fwFrfYGJkAwezqphog5A?p=preview I noticed another inconvinient behaviour with data-tabScrollHeading : i added data-tabScrollHeading on the last tab, if html compile was working, i should add the logic in both the heading and this attribute to have the same text everywhere. I think that if you want different content in the heading and the toolpit (and maybe the drop-down) , there must be different attributes :
but i think that data-tabScrollHtmlLabel cannot contains complicated logic. Maybe it should be a flag instead : data-tabScrollHtmlLabel : true/false to compile the heading or not. |
see this plunkr, it is based on yours: http://plnkr.co/edit/fiY8qhM5G6aGsZRz25yX?p=preview as you can see the data-tabScrollHeading does affect the tooltips and the drop-down, and it does have a working binding inside it. the tooltip and drop-down are showing plain text, they are not intended to show html, their intention is to reflect the text from the tab header. does this answer your needs? |
Not, really, in fact my last Tab heading is a plus and only contains a span :
I will remove the dropdown. Thank you |
it seems we have the same situation - me too have a plus on the last tab.. p.s. if you want to hide the drop-down you can use show-drop-down. please read the documentation. |
hi @picolo74 , @h6784rfg6 ... |
Hi,
If the tabHeading is an html content the content in tabScrollTitle is not rendered because it use tabScope.headingElement.textContent vs innerHTML.
Can you Handle Html ?
The text was updated successfully, but these errors were encountered: