ng-clamper
v0.1.0
Published
Cross-browser line clamping with toggle option.
Downloads
2
Maintainers
Readme
ng-clamper
v0.1.0
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.
Features
Line clamp similar to --webkit-line-clamp
Toggle option
Demo and Usage
Installation
- Add
ng-clamper.min.js
with 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.