truncate-text
v1.0.2
Published
a jquery plugin to truncate text
Downloads
13
Readme
a jquery plugin to truncate text.
install
npm install truncate-text --save-dev
usage
require('truncate-text');
$('.content').truncate({
row: 3,
ellipsis: '...',
more: '<a class="more">more</a>'
});
license
MIT