Skip to content
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

Allow html in tab bar icon definition / title #528

Closed
D3CK3R opened this issue Feb 4, 2014 · 3 comments
Closed

Allow html in tab bar icon definition / title #528

D3CK3R opened this issue Feb 4, 2014 · 3 comments
Milestone

Comments

@D3CK3R
Copy link

D3CK3R commented Feb 4, 2014

In our case we want to define one tab as a logo in the tab bar (on the left side). This is especially useful on tablets because of the available space in the tab bar.
As an addition our logo is dynamic and can be uploaded by the user.
A possible solution would be to allow html in the tab or tab-icon title (don't know whats best here):
<tab .... icon-title="<img src='{{whatever}}'>" >.... </tab>

@ajoslin
Copy link
Contributor

ajoslin commented Feb 7, 2014

Here's a great example with a kitty in it: http://d.pr/i/QSgA

<tab title="<b>super</b> <i>title</i>">

@D3CK3R
Copy link
Author

D3CK3R commented Feb 7, 2014

Great!! Thank you for this!

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 6, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants