This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Scope): add
$watchGroup
method for observing a set of expressions
Given an array of expressions, if any one expression changes then the listener function fires with an arrays of old and new values. $scope.watchGroup([expression1, expression2, expression3], function(newVals, oldVals) { // newVals and oldVals are arrays of values corresponding to expression1..3 ... }); Port of dart-archive/angular.dart@a3c31ce
- Loading branch information
1 parent
8d0cb30
commit 21f9316
Showing
2 changed files
with
122 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters