angular2-shave
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i angular2-shave

Weekly Downloads

2

Version

1.1.0

License

MIT

Last publish

Collaborators

  • netbasal