Is there a way we can make text to expand/collapse, the way we do using javascript?
Is there a way we can make text to expand/collapse, the way we do using javascript?
Have a <div> with a set width and use overflow and such to get elipsis. Then on tap make the width of the <div> to be auto and back to a set width for toggling.
Mitchell Simoens @LikelyMitch
Modus Create, Senior Frontend Engineer
________________
Need any sort of Ext JS help? Modus Create is here to help!
Check out my GitHub:
https://github.com/mitchellsimoens
<div style= "white-space: nowrap; height: 50px; width: 100%; overflow: hidden; text-overflow: ellipsis;">
I did't quiet understand the second part "Then on tap make the width of the <div> to be auto and back to a set width for toggling."
How do I make the more and less links so that they expand and collapse the text?