Cross-browser line clamping with toggle option.
Limit the number of lines displayed in a block. With this handy directive you'll have an AngularJS, cross-browser way of limiting the text in any given block to a specified number of lines.
Line clamp similar to
ng-clamper.min.jswith script tag or through build process.
- Also available as a Bower component
bower install ng-clamper
- Inject ng-clamper into your app.
- Check out the demo for install and implementation options.