Files
impress.js/src/plugins/stop
Henrik Ingo 82ff7cbde0 Add a framework for synchronously executed preInit and preStepLeave plugins.
This allows plugins to register to be executed at the beginning of
impress().init() and impress().goto() respectively. By returning false,
a plugin can also cancel the event.

Also adds 3 plugins that use this: rel, goto and stop.
2017-10-21 12:22:22 +03:00
..

Stop Plugin

Example:

    <!-- Stop at this slide.
         (For example, when used on the last slide, this prevents the 
         presentation from wrapping back to the beginning.) -->
    <div class="step stop">

The stop plugin is a pre-stepleave plugin. It is executed before impress:stepleave event. If the current slide has class="stop" set, it will disable the next() command by setting the next slide to the current slide.

Author

Copyright 2016 Henrik Ingo (@henrikingo) Released under the MIT license.