0.1.0 • Published 7 years ago

angular-convert-jp v0.1.0

Weekly downloads
3
License
BSD-2-clause
Repository
github
Last release
7 years ago

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.