This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
truncates elements that pass a certain height. | |
adds a "view more" link to display the rest of the content. | |
a different approach than standard truncation which relies on character counting. | |
character counting may not be desireable when elements have short words, but a | |
number of line breaks. | |
usage: | |
//using defaults |
NewerOlder