dotdotdot.js, advanced cross-browser ellipsis for multiple line content.
See the codeDotdotdot is a javascript plugin for truncating multiple line content on a webpage. It uses an ellipsis to indicate that there is more text than currently visible. Optionally, the plugin can keep a "read more" anchor visible at the end of the content, after the ellipsis.
When using dotdotdot to truncate HTML, you don't need to worry about your HTML markup, the plugin knows its way around most elements. It's responsive, so when resizing the browser, the ellipsis will update on the fly.
Need help? Have a look at the documentation.
The dotdotdot javascript plugin is licensed under the CC-BY-4.0 license.
Overall
Maintained
Code review
npm
Latest release
Releases this year
3,233 followers · starred Feb 2023
248 followers · starred Aug 2015
2,625 followers · starred Jun 2014
244 followers · starred Nov 2014
dotdotdot.js, advanced cross-browser ellipsis for multiple line content.
See the codeDotdotdot is a javascript plugin for truncating multiple line content on a webpage. It uses an ellipsis to indicate that there is more text than currently visible. Optionally, the plugin can keep a "read more" anchor visible at the end of the content, after the ellipsis.
When using dotdotdot to truncate HTML, you don't need to worry about your HTML markup, the plugin knows its way around most elements. It's responsive, so when resizing the browser, the ellipsis will update on the fly.
Need help? Have a look at the documentation.
The dotdotdot javascript plugin is licensed under the CC-BY-4.0 license.
Overall
Maintained
Code review
npm
Latest release
Releases this year
3,233 followers · starred Feb 2023
248 followers · starred Aug 2015
2,625 followers · starred Jun 2014
244 followers · starred Nov 2014