Skip to content

Clamp an element by adding ellipsis if content exceeds parent's width

Notifications You must be signed in to change notification settings

eamonnjbell/angular-clamp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Angular Clamp

Examples

<div clamp="3" ng-bind="text"></div>

The number 3 here means that the number of lines will be displayed

About

Clamp an element by adding ellipsis if content exceeds parent's width

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%