Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting errors :(
Message
 
 
General information
Forum:
AngularJS
Category:
Compilation
Miscellaneous
Thread ID:
01653229
Message ID:
01653250
Views:
37
This is what I don't understand. Why do we need such complicated way of attaching keypress event? Why not simply add ng-keypress (or ng-change) directly to the input control and not use link function at all?

Thanks.

UPDATE. ng-keypress works quite nicely, no need to mess with link function at all.

I've tested in Google Chrome.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform