Files
impress.js/website/docs/plugins/stop.html
2023-01-23 19:29:15 +01:00

39 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Docs - impress.js</title>
<!--I am using jquery for button animations.-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/dark.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
<script src="/js/docs/loader.js"></script>
<link rel="stylesheet" href="/css/docs/style.css">
</head>
<body>
<div class="content">
<div id="nav"></div>
<div id="top"></div>
<div id="docPage">
<div id="doc-container">
<h1>Stop Plugin</h1>
<p>Example:</p>
<pre><code> &lt;!-- Stop at this slide.
(For example, when used on the last slide, this prevents the
presentation from wrapping back to the beginning.) --&gt;
&lt;div class=&quot;step stop&quot;&gt;
</code></pre>
<p>The stop plugin is a pre-stepleave plugin. It is executed before
<code>impress:stepleave</code> event. If the current slide has <code>class=&quot;stop&quot;</code>
set, it will disable the next() command by setting the next slide to the current
slide.</p>
<h2>Author</h2>
<p>Copyright 2016 Henrik Ingo (@henrikingo)
Released under the MIT license.</p>
</div>
</div>
<div id="footer"></div>
</div>
</body>
</html>