Skip to content

Commit

Permalink
add data-auto-animate-id to auto-animate examples #2896
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed May 27, 2021
1 parent 31c6597 commit c27e3b5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/reveal.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/reveal.js

Large diffs are not rendered by default.

20 changes: 19 additions & 1 deletion examples/auto-animate.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<div class="reveal">

<div class="slides">

<section data-auto-animate data-auto-animate-unmatched="fade">
<h3>Auto-Animate Example</h3>
<p>This will fade out</p>
Expand Down Expand Up @@ -158,6 +157,25 @@ <h2 data-id="title" style="margin-top: 500px; opacity: 0;">With Auto Animate</h2
<div data-id="4" style="background: cyan; position: absolute; top: 250px; left: 76%; width: 60px; height: 60px;"></div>
</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>
Expand Down

0 comments on commit c27e3b5

Please sign in to comment.