jmenglis/clamp-js-main
Clamps an HTML element by adding ellipsis to it if the content inside is too long - Originally from both xavi160 & josephschmitt
JavaScript
Issues
- 2
Convert project to ESNext
#7 opened by jmenglis - 0
- 0
how to change truncation style ?
#3 opened by AZmake - 0
Does not work with inline elements
#13 opened by jdmanabat - 1
Version number wrong in clamp.js file?
#15 opened by picobots - 1
- 1
Ellipsis is included in html tag if clamp happens inside a html tag (on Firefox)
#12 opened by haoruiqian - 4
- 0
- 2
Clamping in IE
#8 opened by AngKov - 0
Truncation Characters not working
#6 opened by jmenglis - 1
Not working In Firefox
#2 opened by bakle - 1
In Firefox/IE if clamp is set to 2, it still shows an ellipsis on the 2nd line, even if the line was not clamped.
#1 opened by MeltdownInteractive