jquery-truncate
jquery-truncate copied to clipboard
Simple plugin that truncates a text either at its end or middle based on a given width or it's elements width.
As stated by JSLint, the last `if` can't be reached because of preceding `return`
I like this plugin, but the main issue I have is that I'm not able to use this on dynamic divs. For example, when you want to use this for...
When using multiline: true on a div with a set width, and a max-height, truncate seems to always truncates to two lines, regardless of whether the text is meant to...