Options
All
  • Public
  • Public/Protected
  • All
Menu

AI User Interface

let chart = new OrgChart("#tree", {
enableAI: true,
});
chart.onInit(function(){
chart.aiUI.show();
});
chart.load(nodes)

Hierarchy

  • aiUI

Index

Properties

Accessors

Methods

Properties

inputElement: HTMLInputElement

Prompt text box

Accessors

  • get width(): number
  • The width of the ai UI

    Returns number

Methods

  • hide(): void
  • Hides the ai form

    Returns void

  • Inits ai ui

    Parameters

    Returns void

  • isVisible(): boolean
  • Returns true if the ai UI is visible

    Returns boolean

  • show(dontFocus?: boolean, dontAnim?: boolean): void
  • Shows the ai form

    Parameters

    • Optional dontFocus: boolean

      if true the imput will not be focused

    • Optional dontAnim: boolean

      If true hsoe withput animation

    Returns void

Legend

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

Settings

Theme

Generated using TypeDoc