TreeINFO-For-M365 documentation
    Preparing search index...
    OnDialogButtonClicked: (button: DialogButton, data: any) => Promise<boolean> | boolean

    Callback function for handling button clicks

    Type declaration

      • (button: DialogButton, data: any): Promise<boolean> | boolean
      • Parameters

        • button: DialogButton

          The button that was clicked

        • data: any

          The data from the dialog

        Returns Promise<boolean> | boolean

        Promise | boolean - Promise or boolean value to determine if the dialog should be closed and dialog promise resolved