@minecraft
    正在准备搜索索引...

    接口 ModalDialogCreationParams

    Represents parameters to create a modal dialog

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

    属性

    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: 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