succinct icon indicating copy to clipboard operation
succinct copied to clipboard

A tiny jQuery plugin for truncating multiple lines of text

Results 12 succinct issues
Sort by recently updated
recently updated
newest added

The [demo](https://mikeking.io/succinct/) is not working. Also it would be helpful if the demo indicated which unit the "size" field expects (which I eventually realized is _characters_, not _lines_ or _px...

Doesn't seem to work with jQuery 3. Any thoughts or work-arounds? Thank you!

Hi, Is there any way to destroy succinct? Because I need it just on hover state, so when mouseleave I would like to destroy succinct. Thanks

This causes my short strings with whitespaces to be truncated. Running a trim() before comparing string length and size setting fix that.

adding onTruncate callback so additional function can be executed, I use this approach mainly to add bootstrap tooltip, only when the text got truncated

This will allow to install succinct using npm in addition to bower.

Hi. How to write another size for tablets? F.e. for desktop I use 205 charrachters. For tablets I need 120 charachters.

Hey nice plugin, I was looking over the source code and there does not seem to be any inherent dependency on jquery, so I was wondering if it would be...

enhancement
question

Handy plugin. It would be more usable if the plugin added a title attribute to the element as soon as text gets truncated. The value of the title attribute is...

enhancement