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

Commit fa3ddba

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ng/directive/ngModel.js

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

0 commit comments

Comments
 (0)