Skip to content

Commit c4af412

Browse files
Fix animation instructions on demo.
1 parent e4bfcd1 commit c4af412

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

demo/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,15 @@ <h3><a id="bootstrap" class="anchor" href="#bootstrap" aria-hidden="true"><span
172172
<div class="section">
173173
<h3><a id="ngAnimate" class="anchor" href="#ngAnimate" aria-hidden="true"><span
174174
class="octicon octicon-link"></span></a>ngAnimate</h3>
175-
<p>If you want to use animations, include ngAnimate module. You can then use in-built classes <span
176-
class="atv">.alertIn</span> and <span class="atv">.alertOut</span> for applying CSS.</p>
175+
<p>If you want to use animations, include ngAnimate module. You can then use regular Angular animation
176+
technique for applying your own transitions.</p>
177177
<pre class="prettyprint linenums mRb15">
178178
var myApp = angular.module("app", ["ngFlash", "ngAnimate"]);
179179
</pre>
180180
<pre class="prettyprint linenums">
181-
.alertIn, .alertOut {...}
182-
.alertIn.ng-hide-remove, .alertOut.ng-hide-add.ng-hide-add-active {...}
183-
.alertOut.ng-hide-add, .alertIn.ng-hide-remove.ng-hide-remove-active {...}
181+
.alert {...}
182+
.alert.ng-enter, .alert.ng-enter.ng-enter-active {...}
183+
.alert.ng-leave, .alert.ng-leave.ng-leave-active {...}
184184
</pre>
185185
</div>
186186
<div class="section">

0 commit comments

Comments
 (0)