You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
Copy file name to clipboardExpand all lines: public/docs/ts/latest/guide/animations.jade
+8
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,14 @@ figure
179
179
are different on enter and leave: the element enters from the left
180
180
and leaves to the right.
181
181
182
+
.l-sub-section
183
+
:marked
184
+
These two common animations have their own aliases:
185
+
code-example(language="typescript").
186
+
transition(':enter', [ ... ]); // void => *
187
+
transition(':leave', [ ... ]); // * => void
188
+
189
+
:marked
182
190
## Example: Entering and leaving from different states
183
191
figure
184
192
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")
0 commit comments