Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting errors :(
Message
 
 
À
11/08/2017 05:20:59
Information générale
Forum:
AngularJS
Catégorie:
Compilation
Divers
Thread ID:
01653229
Message ID:
01653250
Vues:
38
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform