1.0.2 • Published 7 years ago
truncate-text v1.0.2
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