https://github.com/b13/js-textellipsis
https://github.com/b13/js-textellipsis
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/b13/js-textellipsis
- Owner: b13
- Created: 2014-09-23T13:25:58.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-30T12:54:53.000Z (almost 12 years ago)
- Last Synced: 2025-06-18T06:11:35.223Z (about 1 year ago)
- Language: JavaScript
- Size: 156 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
js-textEllipsis
===============
this plugin is used to do a text-ellipsis with multiple text lines the amazing way...
usage:
textEllipsis.getTrimmedText("A collaboration between Markes and the German Federal Institute for Materials Research
and Testing (BAM) has resulted in a new test scheme, featuring", 3, 221, "16px Georgia, 'Times New Roman', Times, serif")
will return:
"A collaboration between Markes and the German Federal Institute for ..."