cheatgui
    Preparing search index...

    Function openPopupMenu

    • This function opens a pop-up modal window where the user can select one item from the data.

      Parameters

      • options: { closable: boolean; items: string[]; title: string }

        Options

        • closable: boolean

          Adds one item to the end to close the menu, returning an index of -1.

        • items: string[]

          The items that will be available for the user to select.

        • title: string

          The title displayed in the selection window.

      Returns Promise<any>

      A promise that will resolve with the index of the selected item.