ng-clamper

Cross-browser line clamping with toggle option.

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

  1. Add ng-clamper.min.js with script tag or through build process.
  2. Also available as a Bower component bower install ng-clamper
  3. Inject ng-clamper into your app.
  4. Check out the demo for install and implementation options.

No Blockers

Join the chat or open an issue. Let's get you unblocked.

HomePage

https://github.com/kevinchappell/ng-clamper#readme

Repository

git+ssh://git@github.com/kevinchappell/ng-clamper.git