Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit aafbd94

Browse files
committed
docs(ngModel): align $viewValue description with $setViewValue
1 parent e732f8e commit aafbd94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ng/directive/ngModel.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ var ngModelMinErr = minErr('ngModel');
2424
* @ngdoc type
2525
* @name ngModel.NgModelController
2626
*
27-
* @property {string} $viewValue Actual string value in the view.
27+
* @property {*} $viewValue The actual value from the control's view. For `input` elements, this is a
28+
* String. See {@link ngModel.NgModelController#$setViewValue} for information about when the $viewValue
29+
* is set.
2830
* @property {*} $modelValue The value in the model that the control is bound to.
2931
* @property {Array.<Function>} $parsers Array of functions to execute, as a pipeline, whenever
3032
the control reads value from the DOM. The functions are called in array order, each passing

0 commit comments

Comments
 (0)