this.gui
    Preparing search index...

    Function mount

    • Mount (or update) a GUI tree into a DOM host.

      • Repeated calls with the same host element will update the existing React root.
      • Returns a handle with root and unmount().

      Parameters

      • arg1: string | number | boolean | Element | GuiSpecNode | GuiNode[] | null | undefined
      • arg2: string | number | boolean | Element | GuiSpecNode | GuiNode[] | null | undefined
      • arg3: any = {}

      Returns { host: Element; root: ReactRoot; unmount: () => void }