NgxBalanceText
A simple Angular directive
to integrate the BalanceText
alternative text wrapping algorithm.
https://github.com/adobe-webplatform/balance-text
Example
A simple example can be found under src/app
directory of this repository.
Installation
npm i ngx-balance-text
Usage
- Register the
NgxBalanceText
directive in your app module.import { NgxBalanceTextModule } from 'ngx-balance-text'
;; ;;
- Use the directive in the required HTML elements.
This is some text that will be split evenly between lines.