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

    Interface ModalDialogCreationParamsBeta

    Represents parameters to create a modal dialog

    interface ModalDialogCreationParams {
        canUserDismiss?: boolean;
        height?: number;
        onActiveRequestChange?: (requestId: undefined | string) => void;
        title?: LocalizedString;
        uniqueId?: string;
        width?: number;
    }
    Index

    Properties

    canUserDismiss?: boolean

    Determines if the panel can be dismissed by the user actions. If undefined, it will be true.

    height?: number

    Panel height for the dialog

    onActiveRequestChange?: (requestId: undefined | string) => void

    Callback to notify changes in active request

    Dialog title

    uniqueId?: string

    Optional user defined unique identifier

    width?: number

    Panel width for the dialog