Ver Fonte

add data-auto-animate-id to auto-animate examples #2896

Hakim El Hattab há 4 anos atrás
pai
commit
c27e3b5ff2
3 ficheiros alterados com 19 adições e 1 exclusões
  1. 0 0
      dist/reveal.esm.js
  2. 0 0
      dist/reveal.js
  3. 19 1
      examples/auto-animate.html

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/reveal.esm.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/reveal.js


+ 19 - 1
examples/auto-animate.html

@@ -18,7 +18,6 @@
 		<div class="reveal">
 		<div class="reveal">
 
 
 			<div class="slides">
 			<div class="slides">
-
 				<section data-auto-animate data-auto-animate-unmatched="fade">
 				<section data-auto-animate data-auto-animate-unmatched="fade">
 					<h3>Auto-Animate Example</h3>
 					<h3>Auto-Animate Example</h3>
 					<p>This will fade out</p>
 					<p>This will fade out</p>
@@ -158,6 +157,25 @@
 					<div data-id="4" style="background: cyan; position: absolute; top: 250px; left: 76%; width: 60px; height: 60px;"></div>
 					<div data-id="4" style="background: cyan; position: absolute; top: 250px; left: 76%; width: 60px; height: 60px;"></div>
 				</section>
 				</section>
 
 
+				<section data-auto-animate data-auto-animate-id="a">
+					<h2>data-auto-animate-id="a"</h2>
+					<h3>A1</h3>
+				</section>
+				<section data-auto-animate data-auto-animate-id="a">
+					<h2>data-auto-animate-id="a"</h2>
+					<h3>A1</h3>
+					<h3>A2</h3>
+				</section>
+				<section data-auto-animate data-auto-animate-id="b">
+					<h2>data-auto-animate-id="b"</h2>
+					<h3>B1</h3>
+				</section>
+				<section data-auto-animate data-auto-animate-id="b">
+					<h2>data-auto-animate-id="b"</h2>
+					<h3>B1</h3>
+					<h3>B2</h3>
+				</section>
+
 			</div>
 			</div>
 
 
 		</div>
 		</div>

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff