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

    Interface IModalDialogBeta

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

    Properties

    activeRequestId: string | undefined

    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

    title: LocalizedString | undefined

    Title of 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

    • Beta

      Parameters

      Returns void

      Updates the title of the modal dialog