Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 533 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 533 Bytes

autoellipsis

this is a jquery plugin to truncate text in a paragraph using auto ellipsis.
the advantage of this is:
	it can truncate based on width or based on words without breaking the word in the middle
	you can specify the number of lines it needs to show before truncating
	you can specify to show the title on hover 
	
**
Note: You need to add the following CSS to your code for this to work
.autowrapSpan, .autowrapSpan span {
    white-space: nowrap !important;
    color: inherit !important;
}
**