figureone
    Preparing search index...

    Slide Navigator

    It is sometimes useful to break down a visualization into easier to consume parts.

    For example, a complex figure or concept can be made easier if built up from a simple begining. Each step along the way might change the elements within the figure, or the form of an equation, and be accompanied by a corresponding description giving context, reasoning or next steps.

    An analogy to this is a story or presentation, where each step along the way is a presentation slide.

    This class is a simple slide navigator, providing a convenient way to define slides and step through them.

    CollectionsSlideNavigator creates the navigation buttons, and textElement automatically, and will usually be more convenient than manually creating them (unless custom buttons are needed).

    Notifications - The notification manager property notifications will publish the following events:

    • goToSlide: published when slide changes - will pass slide index to subscriber
    • steady: steady state reached (slide transition complete)

    CollectionsSlideNavigator for examples.

    Index

    Constructors

    Methods

    • Parameters

      • slideIndex: number
      • from: number | "next" | "prev" | null = null

        this should generally not be used and will be set automatically

      Returns void

    • Progress to next slide.

      Parameters

      • ignoreTransition: boolean = false

        when false, if the slide is still in a transition when nextSlide is called, then the transition will skip through to the end, without moving to the next slide - effectively skipping through to the steady state of the current slide. If true, then the transition will instantly complete, setState and leaveStates called and the next slide will be progressed to.

      Returns void