clamp-js

Clamps (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too long.

Tags: clamp, ellipsis, multiline, browser

Version

Asset Type

  • https://cdnjs.cloudflare.com/ajax/libs/clamp-js/0.6.2/clamp.js
  • https://cdnjs.cloudflare.com/ajax/libs/clamp-js/0.6.2/clamp.min.js

Library Tutorials

Want to write your own awesome tutorials? Make and submit them today