-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add documentation for fa-animate-leave, fa-animate-halt, fa-ani…
…mate-move
- Loading branch information
Showing
8 changed files
with
258 additions
and
7 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
layout: "docs_api" | ||
version: "unstable" | ||
versionHref: "/docs/unstable" | ||
path: "api/directive/faAnimateHalt/" | ||
title: "fa-animate-halt" | ||
header_sub_title: "Directive in module famous.angular" | ||
doc: "faAnimateHalt" | ||
docType: "directive" | ||
--- | ||
|
||
<div class="improve-docs"> | ||
<a href='https://github.com/Famous/famous-angular/edit/master/src/scripts/directives/fa-animate-halt.js#L2'> | ||
Improve this doc | ||
</a> | ||
</div> | ||
|
||
|
||
|
||
|
||
|
||
<h1 class="api-title"> | ||
|
||
fa-animate-halt | ||
|
||
|
||
|
||
</h1> | ||
|
||
|
||
|
||
|
||
|
||
Will execute the passed function/expression when an ngAnimate event on the given element is halted before finishing. | ||
Useful when you want to manage clean-up (e.g. Transitionable `.halt()`ing). | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<h2 id="usage">Usage</h2> | ||
|
||
```html | ||
<fa-view ng-repeat="view in views" fa-animate-halt="cleanupFunction()"> | ||
</fa-view> | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
layout: "docs_api" | ||
version: "unstable" | ||
versionHref: "/docs/unstable" | ||
path: "api/directive/faAnimateLeave/" | ||
title: "fa-animate-leave" | ||
header_sub_title: "Directive in module famous.angular" | ||
doc: "faAnimateLeave" | ||
docType: "directive" | ||
--- | ||
|
||
<div class="improve-docs"> | ||
<a href='https://github.com/Famous/famous-angular/edit/master/src/scripts/directives/fa-animate-leave.js#L2'> | ||
Improve this doc | ||
</a> | ||
</div> | ||
|
||
|
||
|
||
|
||
|
||
<h1 class="api-title"> | ||
|
||
fa-animate-leave | ||
|
||
|
||
|
||
</h1> | ||
|
||
|
||
|
||
|
||
|
||
Attaches the passed function/expression to Angular ngAnimate "leave" events on the given element. | ||
Useful when you want to manage animations in Famo.us that are tied into Angular's data-driven events, e.g. on directives like ng-repeat, ui-view, and ng-if. | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<h2 id="usage">Usage</h2> | ||
|
||
```html | ||
<fa-view ng-repeat="view in views" fa-animate-leave="myAnimationFunction($done)"> | ||
</fa-view> | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
layout: "docs_api" | ||
version: "unstable" | ||
versionHref: "/docs/unstable" | ||
path: "api/directive/faAnimateMove/" | ||
title: "fa-animate-move" | ||
header_sub_title: "Directive in module famous.angular" | ||
doc: "faAnimateMove" | ||
docType: "directive" | ||
--- | ||
|
||
<div class="improve-docs"> | ||
<a href='https://github.com/Famous/famous-angular/edit/master/src/scripts/directives/fa-animate-move.js#L2'> | ||
Improve this doc | ||
</a> | ||
</div> | ||
|
||
|
||
|
||
|
||
|
||
<h1 class="api-title"> | ||
|
||
fa-animate-move | ||
|
||
|
||
|
||
</h1> | ||
|
||
|
||
|
||
|
||
|
||
Attaches the passed function/expression to Angular ngAnimate "move" events on the given element. | ||
Useful when you want to manage animations in Famo.us that are tied into Angular's data-driven events, e.g. on directives like ng-repeat, ui-view, and ng-if. | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<h2 id="usage">Usage</h2> | ||
|
||
```html | ||
<fa-view ng-repeat="view in views" fa-animate-move="myAnimationFunction($done)"> | ||
</fa-view> | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Submodule famous-angular-docs
updated
7 files
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
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