aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/input.js
diff options
context:
space:
mode:
authorMatias Niemelä2014-02-28 14:59:12 -0500
committerMatias Niemelä2014-02-28 14:59:12 -0500
commit0d034a98ec4ef1e0c3c1727e23d1ccd971ae74e6 (patch)
tree9c68e41f5bfe8db7864b86ffa2d55a4f490e33f1 /src/ng/directive/input.js
parent0c8a88ba092a251ba8d79092c590f45a6cd27de9 (diff)
downloadangular.js-0d034a98ec4ef1e0c3c1727e23d1ccd971ae74e6.tar.bz2
docs(forms): generated CSS classes for forms and inputs must have a ng prefix
Diffstat (limited to 'src/ng/directive/input.js')
-rw-r--r--src/ng/directive/input.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js
index b9a23c8b..c31bb400 100644
--- a/src/ng/directive/input.js
+++ b/src/ng/directive/input.js
@@ -1264,8 +1264,8 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$
* ## Animation Hooks
*
* Animations within models are triggered when any of the associated CSS classes are added and removed
- * on the input element which is attached to the model. These classes are: `.pristine`, `.dirty`,
- * `.invalid` and `.valid` as well as any other validations that are performed on the model itself.
+ * on the input element which is attached to the model. These classes are: `.ng-pristine`, `.ng-dirty`,
+ * `.ng-invalid` and `.ng-valid` as well as any other validations that are performed on the model itself.
* The animations that are triggered within ngModel are similar to how they work in ngClass and
* animations can be hooked into using CSS transitions, keyframes as well as JS animations.
*