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
<ling-repeat="item in items" ui-animate>Item #{{$index+1}}</li>
390
+
</ul>
391
+
<pre>$scope.items: {{items}}</pre>
392
+
<h3>Why?</h3>
393
+
<p>People have been asking for a way to animate the addition and removal of DOM elements. This is a simple way of doing it using CSS3 transitions. A 'hidden' transitionable class (that doesn't use <code>dislay:none</code>) is attached to the node before it's injected and then immediately removed after.</p>
394
+
</div>
395
+
<divclass="span6">
396
+
<h3>How?</h3>
397
+
<p>You can pass a string to use as the class to transition to / from (such as <code>ui-hide</code>). An object can also be passed with support for a <code>class</code> attribute. More options will be supported with future updates.</p>
0 commit comments