Class Stepper

This class handles 'stepping' of manual.

Author

Matej Hakoš

Hierarchy

  • Stepper

Constructors

Properties

animationLoop: string[]

An array of strings, which corresponds to names of steps, which will be indefinately looped.

computedPositions: ComputedPostions

Contains base computed postions.

currentStep: ManualStep

Currently drawn step of manual.

currentStepPosition: number = 0

Current index of step.

A helper function that returns object from Init class.

length: number = 0

Overall length of all steps.

pauseRendering: boolean = false

Indicates, if stepper should compute and render.

root: null | ManualStep

The root of the manual steps.

signaler: EventTarget

Signaler that sends callback to other classes.

Methods

  • Private

    Finds next step based on name of the step in input JSON.

    Parameters

    • name: string

    Returns void

  • Sets position of stepper to postion.

    Returns

    Parameters

    • position: number

    Returns number

Generated using TypeDoc