dss-percentage
v0.0.9
Published
The `percentage` directive automatically formats numeric values as **percentages**. Whether the value is typed manually or assigned via `[(ngModel)]`, it will display with a `%` symbol.
Readme
Percentage Directive
The percentage directive automatically formats numeric values as percentages.
Whether the value is typed manually or assigned via [(ngModel)], it will display with a % symbol.
📦 Installation
Install the package from npm:
npm install dss-percentage
##syntax
```HTML
<input type="text" [(ngModel)]="entity.myPercent" percentage />