@minecraft/server-editor
    Preparing search index...

    Interface IModalDialogBeta

    interface IModalDialog {
        activeRequestId: undefined | string;
        contentPane: IPropertyPane;
        controlPane: IModalControlPane;
        id: string;
        sendDismiss(): void;
        sendResponse(response: ModalDialogCustomResponse): void;
    }
    Index

    Properties

    activeRequestId: undefined | string

    Identifier for the active request for this dialog

    contentPane: IPropertyPane

    Custom pane layout for the dialog

    controlPane: IModalControlPane

    Custom pane layout for the dialog

    id: string

    Unique identifier for the dialog

    Methods

    • Beta

      Returns void

      Dispatches a dismiss message to the active request if it is available

    • Beta

      Parameters

      Returns void

      Dispatches a response message to the active request if it is available