0.1.0 • Published 1 year ago
rupiah-currency v0.1.0
Currency Formater for Angular
This package works for Angular 11 or later.
Table Of Content
Installation
Use npm to install the package
npm i rupiah-currency
You could either add into your module imports the CurrencyModule
import { RupiahCurrencyModule } from 'rupiah-currency';
@NgModule({
// ...
imports: [
// ...
RupiahCurrencyModule
]
})
```
you can call it in the component html
<input rupiahCurrency type="text">
Note: input tag type must
type="text"
.