ngx-nepali-unicode
Angular package that converts Unicode text into Nepali Preeti font.
Installation
Use Node Package Manager npm to install ngx-nepali-unicode.
npm install ngx-nepali-unicode
Usage
Import NgxNepaliUnicodeModule
in the root module(AppModule
):
// Import module;
You can use ngx-nepali-unicode
as both Angular pipe
& directive
.
- Using as Angular
directive
in your template
नेपालीमा टाइप गर्नुहोस्:
if you want to bind converted nepali preeti text into your formControl
value just pass [formControl]
as Angular Input
.
Component:
//...;
Template:
Description in Nepali: You have entered: {{ descriptionNep.value }}
- Using as Angular
pipe
in your template
{{ 'gfdM' | nepaliUnicode }}: equivalent to नामः
Creator
Hikmat Sijapati
License
ngx-nepali-unicode is MIT licensed.