collective.js.jqsmartTruncation

This Package provides smart truncation.


Keywords
jquery, smartTruncation
License
GPL-2.0
Install
pip install collective.js.jqsmartTruncation==1.0

Documentation

collective.js.jqsmartTruncation

Truncate text into the width of his container with the JQuery plugin smart Truncation

Usage

  • Add collective.js.jqsmartTruncation to your buildout configuration:
[instance]
eggs +=
    collective.js.jqsmartTruncation
  • Install the generic setup profile of the package
  • use smartTruncation() in your own package to truncate the text in the element:
jq('span.title a').smartTruncation();

Links

Maintainer

This package is copyright by 4teamwork company.