How many steps there are: the largest step that a figure names, at least 1 (or what the option count asked).
The step that is shown, from 1.
The step that is shown, the number of steps, and the title of the step.
The title of the step that is shown, null if it has none.
The titles of the steps by step, a copy. A title for a step that does not exist is kept: it shows when the code gives the step.
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optionaloptions: boolean | AddEventListenerOptionsThe dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().
Shows every figure again, and stops following the graph.
Shows the first step.
Shows this step.
InvalidArgumentError if step is not an integer from 1 to count.
Shows the last step.
Shows the next step. At the last one, nothing happens.
Stop calling a handler given to on.
the presentation, to chain.
Call handler when the presentation sends event. The same handler given twice is called once.
the presentation, to chain.
The code gave other titles, or took them away. Nothing is said when they are the same.
A figure got other steps: it is shown or hidden for the step that is shown, and the steps are counted again.
The figures that were removed took their steps with them: the steps are counted again.
Shows the step before. At the first one, nothing happens.
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target. The event listener to be removed is identified using a combination of the event type, the event listener function itself, and various optional options that may affect the matching process; see Matching event listeners for removal.
Optionaloptions: boolean | EventListenerOptionsThe title of this step, null if it has none (or if there is no such step).
Shows the figures of a graph step by step, as the slides of LaTeX Beamer: a figure that has the steps
<2->(figure.controls.slide) appears at the second step and stays, one that has<3>is there at the third step only, and one that has none is always there. It is made with the graph,new Slides(graph), and attaches itself to it; a graph has one. It is independent from the other controllers.Without a
Slides, the steps of the figures mean nothing: every figure is shown. With one, the steps are the integers from 1 to count, which is the largest step that a figure names (at least 1, or what the optioncountasks). The presentation starts at the first step.What the steps hide is apart from
hide()and from the lack of a position: a figure that is hidden for another reason stays hidden. The figures are still drawn and updated, so what depends on a figure that is not shown follows it. The TikZ of the graph writes what is shown at the step.The steps can have a title (
@pause=Title,@title,3=Titlein the code), which the graph keeps for the presentation: title, titleOf and titles. A title does not make a step: only the figures andcountdo.The event is
change(the step, the number of steps or the titles changed: a figure got its steps, or was removed, or the code was changed).