Skip to content

Working with output

Erik Loyer edited this page Jan 27, 2017 · 2 revisions

Easy output to a DOM element

By default, Stepwise will output the visible content of individual steps to the DOM element referenced in the selector (in the example below, the element with the id "output").

$("#output").stepwise("1 2 3 and");

More sophisticated output with Stepwise effects

For more robust output handling with minimal effort, you can use Stepwise effects. Effects bundle commonly used functionality into discrete modules, including the ability to direct output from individual characters to separate DOM elements.