1.1.0 • Published 7 years ago

angular2-shave v1.1.0

Weekly downloads
61
License
MIT
Repository
github
Last release
7 years ago

Angular 2 shave

Angular 2 directive for the shave library - A modern javascript plugin for truncating text within a html element.

Installation

npm install angular2-shave --save

Usage

import { ShaveDirective } from "angular2-shave";
<div [shave]="{character: '✁', classname: 'myclass' }" [shaveHeight]="200">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Asperiores consequuntur deserunt dolore dolores ea esse expedita, recusandae sint totam velit. Beatae deserunt expedita, laborum nobis placeat quibusdam recusandae similique sit!</div>

License

The repository code is open-sourced software licensed under the MIT license.

1.1.0

7 years ago

1.0.1

8 years ago

1.0.0

8 years ago