I am using following code to display name dynamically:
<div id="name">{{profile.name}}</div>
Screen size is always 320px It works fine if name is short but if name is very long then name is broken in two lines that disturbs my layout. So I want to reduce font size automatically if name becomes too long...
So is there any way to watch content of div and apply different font size dynamically based on character length ?