angular-convert-jp
v0.1.0
Published
AngularJS 1.x directive for converting Japanese on the fly
Downloads
5
Maintainers
Readme
angular-convert-jp
Convert Japanese full-width/half-width characters in a text box.
usage
Add the module to your application.
angular.module('myApp', ['ngConvertJp']);
Add the attribute to a text box.
<input type="text" ng-convert-jp ng-model="...">
advanced usage
Only convert from half-width kana to full-width.
<input type="text" ng-convert-jp="K" ng-model="...">
Only convert from full-width alphanumeric to half-width.
<input type="text" ng-convert-jp="a" ng-model="...">
known issue
- dakuten, han-dakuten are not supported.