diff options
| author | Matias Niemelä | 2013-06-06 01:28:50 -0400 |
|---|---|---|
| committer | Misko Hevery | 2013-06-17 22:00:54 -0700 |
| commit | ef22968810d555f78d3bbf7b5428757690c8cc70 (patch) | |
| tree | 1a19f2649e07406bd1988c4d915deec87073c568 /src/ng/animator.js | |
| parent | 07ef1667db632d0fd75472f30343255edcebf43b (diff) | |
| download | angular.js-ef22968810d555f78d3bbf7b5428757690c8cc70.tar.bz2 | |
feat(ngdocs): support popover, foldouts and foldover annotations
Diffstat (limited to 'src/ng/animator.js')
| -rw-r--r-- | src/ng/animator.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/animator.js b/src/ng/animator.js index d8495f2d..5ad0535f 100644 --- a/src/ng/animator.js +++ b/src/ng/animator.js @@ -33,11 +33,11 @@ * <ANY ng-directive ng-animate="{event1: 'animation-name', event2: 'animation-name-2'}"></ANY> * * <!-- you can also use a short hand --> + * //!annotate="animation" ngAnimate|This *expands* to `{ enter: 'animation-enter', leave: 'animation-leave', ...}`</strong> * <ANY ng-directive ng-animate=" 'animation' "></ANY> - * <!-- which expands to --> - * <ANY ng-directive ng-animate="{ enter: 'animation-enter', leave: 'animation-leave', ...}"></ANY> * * <!-- keep in mind that ng-animate can take expressions --> + * //!annotate="computeCurrentAnimation\(\)" Scope Function|This will be called each time the scope changes... * <ANY ng-directive ng-animate=" computeCurrentAnimation() "></ANY> * </pre> * |
