Answers for "limit characters and have three dots after in angular 6"

0

limit characters and have three dots after in angular 6

<div ng-init="limit = 150; moreShown = false">
    {{text | limitTo: limit}}{{text.length > limit ? '...' : ''}}
    <a ng-show="text.length > limit"
      href ng-click="limit=text.length; moreShown = true">  More
    </a>
    <a ng-show="moreShown" href ng-click="limit=150; moreShown =    false"> Less </a>
</div>
Posted by: Guest on September-17-2020

Code answers related to "limit characters and have three dots after in angular 6"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language