jQuery.trunc
Limited text plugin.
What is it?
jQuery.trunc set a limit on text element, adding to it ... click on helip opens all text. View demo.
How to use?
Include the jquery.trunc.min.js
(from the dist/
folder) in the footer of your page and initialise it:
// Use the plugin as follows: $('element').trunc(limit);
License
jQuery.trunc is licensed under the MIT License.
Demo
There is a demo available in the demo folder and online at https://yarmol1k.github.io/jQuery.trunc/demo/.