Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • undoRedoUI

Index

Properties

Methods Event Listeners

Methods Other

Properties

instance: OrgChart

Event Listeners Methods

  • onChange(listener: (args: { redoStepsCount: number; undoStepsCount: number }) => void): undoRedoUI
  • Occurs when the undo redo buttons needs to updated.

    var chart = new OrgChart('#tree', {});
    chart.undoRedoUI.onChange((args) => {
    //return false; to cancel the operation
    });

    Parameters

    • listener: (args: { redoStepsCount: number; undoStepsCount: number }) => void
        • (args: { redoStepsCount: number; undoStepsCount: number }): void
        • Parameters

          • args: { redoStepsCount: number; undoStepsCount: number }
            • redoStepsCount: number

              Redo stack steps count

            • undoStepsCount: number

              Undo stack steps count

          Returns void

    Returns undoRedoUI

Other Methods

  • Inits undoRedoUI

    Parameters

    Returns void

  • refresh(): void
  • Refreshes the UI buttonss

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Static property
  • Static method
  • Inherited method

Settings

Theme

Generated using TypeDoc