Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs(animation): add note about aliases #2629

Merged
merged 1 commit into from
Oct 22, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions public/docs/ts/latest/guide/animations.jade
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,14 @@ figure
are different on enter and leave: the element enters from the left
and leaves to the right.

.l-sub-section
:marked
These two common animations have their own aliases:
code-example(language="typescript").
transition(':enter', [ ... ]); // void => *
transition(':leave', [ ... ]); // * => void

:marked
## Example: Entering and leaving from different states
figure
img(src="/resources/images/devguide/animations/animation_enter_leave_states.gif" alt="Enter and leave animations combined with state animations" align="right" style="width:200px" )
Expand Down