We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$viewChangeListeners
1 parent 7657d9d commit 2fdf45cCopy full SHA for 2fdf45c
src/ng/directive/input.js
@@ -840,6 +840,11 @@ var VALID_CLASS = 'ng-valid',
840
* }
841
* ngModel.$formatters.push(formatter);
842
* </pre>
843
+ *
844
+ * @property {Array.<Function>} $viewChangeListeners Array of functions to execute whenever the
845
+ * view value has changed. It is called with no arguments, and its return value is ignored.
846
+ * This can be used in place of additional $watches against the model value.
847
848
* @property {Object} $error An object hash with all errors as keys.
849
*
850
* @property {boolean} $pristine True if user has not interacted with the control yet.
0 commit comments