Introduction
I was working on a project where I wanted to WordWrap some content and either display an ellipse or add a toggle button to show/hide more. Looking around I could not find anything that did what I wanted, so I tossed together the below. Performance is great and works pretty good.
The Code
This snippet is also hosted as a Gist on Github:
Usage examples
Demo
This is a demo of the wordwrap.
### Demo Code
This is a demo of the wordwrap.
Enjoy!