ngx-digits-to-persian-letters
How to Use it:
import { NgxDigitsToPersianLettersModule } from 'ngx-digits-to-persian-letters'; import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppComponent } from './app.component'; import { CommonModule } from '@angular/common';
@NgModule({ declarations: [AppComponent], imports: [ BrowserModule, NgxDigitsToPersianLettersModule, CommonModule, ], providers: [], bootstrap: [AppComponent], }) export class AppModule {}
and inside the template file:
<ngx-digits-to-persian-letters
[showConverted]="true"
[letterFontSize]="12"
></ngx-digits-to-persian-letters>