ang-readmore
Version:
This is a simple angular component to add "read more"/"read less" links to your long sentenses/paragraphs.
26 lines (16 loc) • 749 B
Markdown
This is a simple angular component to add "read more"/"read less" links to your long sentenses/paragraphs.
>Checkout the [DEMO](https://ang-readmore-example.stackblitz.io)
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.
`npm i ang-readmore`
Import it to you `app.module.ts` and register it.
`import AngReadmoreModule from 'ang-readmore'`
`imports: [AngReadmoreModule]`
`<ang-readmore [text]="notes" [length]="30" linkColor="#26A69A"></ang-readmore>`
Default Length at which read more kicks-in : 20 Characters
Default Color:
To get more help [GO TO GITHUB REPOSITORY](https://github.com/smrkamran/ang-readmore).