trochette / ng-keypad Goto Github PK
View Code? Open in Web Editor NEWAngularJS on screen keypad that can be customized to your needs. Mobile compatible.
AngularJS on screen keypad that can be customized to your needs. Mobile compatible.
The directive works well as expected. However, when I try to render a list of keypad-input using ng-repeat, the model couldn't be updated. Keypad emits the event still but InputKeyboard couldn't listen to it. Do you know how to solve this issue.
Below is the code snippet used to render list of keypadInput:
<a ng-repeat="i in[0,1,2]" class="input" data-ng-model="input3" data-ng-keypad-input="numeric" tabindex="1">{{input3}}</a>
KEYPAD.handleKeyPressed triggers
function handleKeyPressed(event, key) {
$scope.$emit(Keypad.KEY_PRESSED, key, padId);
}
... but KEYPADINPUT.handleKeyPressed() never get called.
The module fails when using nested objects inside ng-model
example:
ng-model="test"
works
ng-model="test.test"
fails
test.test
does not get updated
Hello Trochette -
I am trying to incorporate your keyboard and everything is working splendid, except for next and previous.
I incorporated it into my controller and the code is firing and .focus() is called but it doesn't actually focus.
I think it might have to do with timing. Thoughts?
Possible to get this guy working in Angular 1.3?
Hello Trochette. You're numeric keyboard is cool.
I created an App which makes use of your keyboard. However, it needs to be in a qwerty layout. I've managed to add the values of all characters except for the space and backspace.
would be glad if you can add some insight regarding this?
the app runs in ionic framework.
When using the module on an input
element the input does not get updated in the interface
Hi Tommy
Don't know how to reach you besides here.
I have feature request.
Would it be possible to have the possibility to preselect all the text in the input on focus so that if the user starts to type new numbers, the old number gets overwritten instead of appended?
Best Regards
Peter
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.