Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What can be used instead of ng-change?
Message
 
 
À
06/11/2015 01:45:47
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01627133
Message ID:
01627171
Vues:
42
Hi Viv,

I went with slightly different solution, but I am wondering if this can be simplified.

I want to set a variable 'somethingChanged = true' when I change a value. I tried

ng-change = "somethingChanged = true" but that didn't work and I had to create a scope method to set a single variable. Do you know if it is possible to use direct assignment?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform