javascript - I need a customized Numeric keypad for mobile -


i'm developing hybrid app , want app open customized numeric keypad looks same on devices. there angularjs directive?

i ran same problem before needed consistent numeric keypad looks same on devices , ended creating one. can find on github:

code

demo

it's module composed of

  • numeric keyboard directive should 1 copy in whole app, it's template actual keyboard
  • numeric keyboard input directive, it's clickable directive opens keyboard, need attach editable element want input be.
  • numeric keyboard service, handles communication between 2 directives.

angular.module('numerickeyboard').factory('numerickeyboardservice',numerickeyboardservice);

angular.module('numerickeyboard').directive('numerickeyboard', numerickeyboard);

angular.module('numerickeyboard').directive('numerickeyboardinput', numerickeyboardinput);


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -